Changeset 653 for trunk/tests/run_tests.sh
- Timestamp:
- Nov 28, 2018 1:40:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/run_tests.sh
r622 r653 7 7 # export DB_USER="test" 8 8 # export DB_PASS="..." 9 10 # Run an individual test like this: 11 # ./tests/run_tests.sh /Users/q/src/codebase/trunk/tests/UtilitiesTest.php 9 12 10 13 function err { … … 38 41 # Config options go in phpunit.xml 39 42 # phpunit --tap | grep -v '^ok ' 40 ../vendor/phpunit/phpunit/composer/bin/phpunit --stderr || err "\nSomething went wrong (code $?). If there is no output above, check the php_error_log";43 ../vendor/phpunit/phpunit/composer/bin/phpunit --stderr "$@" || err "\nSomething went wrong (code $?). If there is no output above, check the php_error_log"; 41 44
Note: See TracChangeset
for help on using the changeset viewer.