diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-12-02 12:20:07 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-12-02 12:20:07 +0100 |
commit | a73023fe05664b4c5a45a18d2ecbc886a2a33704 (patch) | |
tree | f8bb149031c8c213953e4e68955e0400533ba732 /autotest.cmd | |
parent | 7e47a363ff7255af36cb0c00461889985d84bb3f (diff) | |
download | nextcloud-server-a73023fe05664b4c5a45a18d2ecbc886a2a33704.tar.gz nextcloud-server-a73023fe05664b4c5a45a18d2ecbc886a2a33704.zip |
Allow passing a test file just like in autotest.sh
Diffstat (limited to 'autotest.cmd')
-rw-r--r-- | autotest.cmd | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/autotest.cmd b/autotest.cmd index 1b33596ba37..a6119f5afd4 100644 --- a/autotest.cmd +++ b/autotest.cmd @@ -72,13 +72,13 @@ echo localhost:5432:*:oc_autotest:owncloud > %APPDATA%\postgresql\pgpass.conf :: if [%1] == [] ( echo "Running on all database backends" - call:execute_tests "sqlite" - call:execute_tests "mysql" - call:execute_tests "mssql" - ::call:execute_tests "ora" - call:execute_tests "pgsql" + call:execute_tests "sqlite" "%2" + call:execute_tests "mysql" "%2" + call:execute_tests "mssql" "%2" + ::call:execute_tests "ora" "%2" + call:execute_tests "pgsql" "%2" ) else ( - call:execute_tests "%1" + call:execute_tests "%1" "%2" ) goto:eof @@ -129,7 +129,7 @@ goto:eof php occ app:disable files_external cd tests - call phpunit --bootstrap bootstrap.php --configuration phpunit-autotest.xml --log-junit autotest-results-%~1.xml --coverage-clover autotest-clover-%~1.xml --coverage-html coverage-html-%~1 + call phpunit --bootstrap bootstrap.php --configuration phpunit-autotest.xml --log-junit autotest-results-%~1.xml --coverage-clover autotest-clover-%~1.xml --coverage-html coverage-html-%~1 %~2 @echo "Done with testing %~1 ..." cd %BASEDIR% |