mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-12 03:16:34 +00:00
Allow passing additional arguments when running unit test script
This commit is contained in:
+3
-1
@@ -1,8 +1,10 @@
|
||||
set -x
|
||||
php -S 127.0.0.1:8000 -t PHPCurlClass/ &> /dev/null &
|
||||
pid="${!}"
|
||||
extra_args="${@}"
|
||||
phpunit \
|
||||
--configuration phpunit.xml \
|
||||
--debug \
|
||||
--verbose
|
||||
--verbose \
|
||||
${extra_args}
|
||||
kill "${pid}"
|
||||
|
||||
Reference in New Issue
Block a user