diff options
author | Paul Smith <psmith@gnu.org> | 2013-10-09 01:54:24 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-10-09 02:09:21 -0400 |
commit | 52191d9d613819a77a321ad6c3ab16e1bc73c381 (patch) | |
tree | dd1643e06b7e7e3b9dbe1ce3508ef2806de6d255 /tests | |
parent | dc9ae5e017e6a8c162a0e15d28c09ace49c33c3a (diff) | |
download | gunmake-4.0.tar.gz |
GNU Make release 4.0.4.0
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)"; |