]> source.dussan.org Git - nextcloud-server.git/commitdiff
enable testing individual tests
authorJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 26 Jun 2013 13:33:35 +0000 (15:33 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 26 Jun 2013 13:33:35 +0000 (15:33 +0200)
autotest.sh

index 4562b3ed08a553cea5671ccf6e9ef266a89f2afe..59f0240d99b8148525abcd2d20d6842624a618fc 100755 (executable)
@@ -132,9 +132,9 @@ EOF
        php -f enable_all.php
        if [ "$1" == "sqlite" ] ; then
                # coverage only with sqlite - causes segfault on ci.tmit.eu - reason unknown
-               phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1
+               phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1 $2 $3
        else
-               phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml
+               phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml $2 $3
        fi
 }
 
@@ -149,7 +149,7 @@ if [ -z "$1" ]
        # we will add oci as soon as it's stable
        #execute_tests 'oci'
 else
-       execute_tests $1
+       execute_tests $1 $2 $3
 fi
 
 #