summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-10-09 01:54:24 -0400
committerPaul Smith <psmith@gnu.org>2013-10-09 02:09:21 -0400
commit52191d9d613819a77a321ad6c3ab16e1bc73c381 (patch)
treedd1643e06b7e7e3b9dbe1ce3508ef2806de6d255 /tests
parentdc9ae5e017e6a8c162a0e15d28c09ace49c33c3a (diff)
downloadgunmake-52191d9d613819a77a321ad6c3ab16e1bc73c381.tar.gz
GNU Make release 4.0.4.0
Diffstat (limited to 'tests')
-rw-r--r--tests/test_driver.pl10
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)";