diff options
| -rwxr-xr-x | run-tests.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index 27eb2aeb1e..ac36e77c21 100755 --- a/run-tests.php +++ b/run-tests.php @@ -242,6 +242,9 @@ function run_tests_in_dir($dir = '.') return true; } $oskipped = $skipped; + if (sizeof($testfiles) == 0) { + return; + } writeln("%bRunning tests in $dir%B"); writeln("=================".str_repeat("=", strlen($dir))); sort($testfiles); @@ -261,7 +264,7 @@ function run_tests_in_dir($dir = '.') $total++; } if ($oskipped + (isset($tests_in_dir[$dir])?$tests_in_dir[$dir]:0) == $skipped) { - writeln("(all skipped)"); + writeln("[all $skipped test(s) skipped]"); } writeln(""); return true; |
