summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/phpunit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit.sh b/tests/phpunit.sh
index 2e8e57f..66d8997 100755
--- a/tests/phpunit.sh
+++ b/tests/phpunit.sh
@@ -85,7 +85,7 @@ if [ $? -eq 0 ]; then
exit 1
fi
# Should we perform full statistical analyses?
- if [ $fulltest -eq 1 ]; then
+ if [[ "$fulltest" == "1" ]]; then
php phpunit.phar --bootstrap "$parentdir/vendor/autoload.php" "$parentdir/tests/full"
if [ $? -ne 0 ]; then
# Test failure
@@ -93,7 +93,7 @@ if [ $? -eq 0 ]; then
fi
fi
# Cleanup
- if [ "$clean" -eq 1 ]; then
+ if [[ "$clean" == "1" ]]; then
echo -e "\033[32mCleaning Up!\033[0m"
rm -f phpunit.phar
rm -f phpunit.phar.asc