Mention when tests were skipped instead of passed
Perl 5 Porters [Mon, 8 Jul 1996 23:11:22 +0000 (23:11 +0000)]
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";