]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make autotest.sh able to output proper coverage again
authorRoeland Jago Douma <rullzer@owncloud.com>
Tue, 1 Dec 2015 11:03:27 +0000 (12:03 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Tue, 1 Dec 2015 11:03:27 +0000 (12:03 +0100)
The usage of single quotes make sure that a string is used verbatim in
bash. And no variables are subsituted.

autotest.sh

index eb57264c9536b068e2ec1e1afccff8f4e5da7cf2..5196d5c31d511cef093f93dd4c0d8bc7b38dd4df 100755 (executable)
@@ -270,7 +270,7 @@ function execute_tests {
 
        COVER=''
        if [ -z "$NOCOVERAGE" ]; then
-               COVER='--coverage-clover "autotest-clover-$DB.xml" --coverage-html "coverage-html-$DB"'
+               COVER="--coverage-clover autotest-clover-$DB.xml --coverage-html coverage-html-$DB"
        else
                echo "No coverage"
        fi