mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
Small fix for test script.
This commit is contained in:
4
test.sh
4
test.sh
@@ -22,6 +22,7 @@ apitestclass=''
|
||||
|
||||
verbalflag=''
|
||||
testsuite=''
|
||||
suiteflag=''
|
||||
configfile='phpunit.xml';
|
||||
|
||||
while getopts 'vcrtf:u:s:a:' flag; do
|
||||
@@ -56,6 +57,7 @@ while getopts 'vcrtf:u:s:a:' flag; do
|
||||
echo "Will only run Api test $OPTARG"
|
||||
;;
|
||||
s)
|
||||
suiteflag='true'
|
||||
testsuite="--testsuite $OPTARG"
|
||||
echo "Will only run test suite '$OPTARG'"
|
||||
;;
|
||||
@@ -63,7 +65,7 @@ while getopts 'vcrtf:u:s:a:' flag; do
|
||||
esac
|
||||
done
|
||||
|
||||
if [[ $coverageflag == "true" && ($featureflag == "true" || $unitflag == "true" || $apiflag == "true") ]]
|
||||
if [[ $coverageflag == "true" && ($suiteflag == "true" || $featureflag == "true" || $unitflag == "true" || $apiflag == "true") ]]
|
||||
then
|
||||
echo "Use config file specific.xml"
|
||||
configfile='phpunit.coverage.specific.xml'
|
||||
|
Reference in New Issue
Block a user