diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_driver.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_driver.pl b/tests/test_driver.pl index ee74db4..2f83270 100644 --- a/tests/test_driver.pl +++ b/tests/test_driver.pl @@ -480,11 +480,6 @@ sub run_all_tests $status = "FAILED ($tests_passed/$tests_run passed)"; } - elsif ($tests_run == 0) { - # Nothing was done!! - $status = "FAILED (no tests found!)"; - } - elsif ($code == -1) { # Skipped... not supported $status = "N/A"; @@ -498,6 +493,11 @@ sub run_all_tests $status = "FAILED ($tests_passed/$tests_run passed)"; } + elsif ($tests_run == 0) { + # Nothing was done!! + $status = "FAILED (no tests found!)"; + } + elsif ($tests_run > $tests_passed) { # Lose! $status = "FAILED ($tests_passed/$tests_run passed)"; |