diff options
Diffstat (limited to 'vendor/smarty/smarty/run-tests.sh')
-rwxr-xr-x | vendor/smarty/smarty/run-tests.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/smarty/smarty/run-tests.sh b/vendor/smarty/smarty/run-tests.sh new file mode 100755 index 000000000..ddcad01b1 --- /dev/null +++ b/vendor/smarty/smarty/run-tests.sh @@ -0,0 +1,13 @@ +#!/bin/sh +composer update + +php -r 'echo "\nPHP version " . phpversion() . ". ";'; + +if [ -z $1 ]; +then + echo "Running all unit tests.\n" + php ./vendor/phpunit/phpunit/phpunit +else + echo "Running all unit tests, except tests marked with @group $1.\n" + php ./vendor/phpunit/phpunit/phpunit --exclude-group $1 +fi
\ No newline at end of file |