diff options
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh index 9385b4185..dd1145d2c 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -100,7 +100,7 @@ function run_tests { fi else tests_run=$(awk '/^Ran/ {print $2}' nosetests.log) - if [ "$tests_run" -eq 0 ]; + if [ -z "$tests_run" ] || [ "$tests_run" -eq 0 ]; then echo "ERROR: Zero tests ran, something is wrong!" echo "This is usually caused by a parse error in some python" |