summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-10-09 02:09:21 -0400
committerPaul Smith <psmith@gnu.org>2013-10-09 02:09:21 -0400
commit1c60aa8237da9a1655115de2774627fecf7690cd (patch)
treedd1643e06b7e7e3b9dbe1ce3508ef2806de6d255 /tests
parent0ef429d2f5520c627a3577c87481e85a4d56ba36 (diff)
downloadmake-1c60aa8237da9a1655115de2774627fecf7690cd.tar.gz
GNU Make release 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 ee74db4a..2f832705 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)";