From 55ab39ca55ba2e2cae50ebcc1a34779651665d39 Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 23 Feb 2016 16:15:26 +0100 Subject: [PATCH] Old cover script. --- cover.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cover.sh b/cover.sh index 3f7cd1b6bf..6807f88c0a 100755 --- a/cover.sh +++ b/cover.sh @@ -9,19 +9,21 @@ cp phpunit.cover.xml phpunit.xml # delete test databases: if [ -f storage/database/testing.db ] then - rm storage/database/testing.db + echo "Will not remove test db" + # rm storage/database/testing.db fi if [ -f storage/database/testing-copy.db ] then - rm storage/database/testing-copy.db + echo "Will not remove test db" + # rm storage/database/testing-copy.db fi # test! if [ -z "$1" ] then echo "Running all tests..." - phpunit --verbose + phpunit fi # test selective.. @@ -37,14 +39,14 @@ then then # run it! echo "Now running $firstFile" - phpunit --verbose $firstFile + phpunit $firstFile result=$? fi if [ -f "$secondFile" ] then # run it! echo "Now running $secondFile" - phpunit --verbose $secondFile + phpunit $secondFile result=$? fi