Init Repo

This commit is contained in:
root
2019-09-06 23:53:10 +08:00
commit f0ef89dfbb
7905 changed files with 914138 additions and 0 deletions

16
vendor/swoole/tests/start.sh vendored Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
pidof_php()
{
echo `ps -A | grep -m1 php | grep -v phpstorm | awk '{print $1}'`
}
`pidof_php | xargs kill > /dev/null 2>&1`
export TEST_PHP_EXECUTABLE=`which php`
BASEDIR=$(dirname "$0")
glob='swoole_*'
[ -z "$1" ] || glob="$@"
${TEST_PHP_EXECUTABLE} -d "memory_limit=1024m" ${BASEDIR}/run-tests ${glob}
`pidof_php | xargs kill > /dev/null 2>&1`
rm /tmp/swoole.log