This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Mention when tests were skipped instead of passed
[perl5.git] / t / TEST
diff --git a/t/TEST b/t/TEST
index 291eab5..160e316 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -80,8 +80,13 @@ while ($test = shift) {
     }
     $next = $next - 1;
     if ($ok && $next == $max) {
-       print "ok\n";
-       $good = $good + 1;
+       if ($max) {
+           print "ok\n";
+           $good = $good + 1;
+       } else {
+           print "skipping test on this platform\n";
+           $files -= 1;
+       }
     } else {
        $next += 1;
        print "FAILED on test $next\n";