From 52191d9d613819a77a321ad6c3ab16e1bc73c381 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 9 Oct 2013 01:54:24 -0400 Subject: GNU Make release 4.0. --- tests/test_driver.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') 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)"; -- cgit v1.2.3