From: Perl 5 Porters Date: Mon, 8 Jul 1996 23:11:22 +0000 (+0000) Subject: Mention when tests were skipped instead of passed X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bcce72a7a81d4c8e03d40bd0de22a534dc97418b;p=p5sagit%2Fp5-mst-13.2.git Mention when tests were skipped instead of passed --- diff --git a/t/TEST b/t/TEST index 291eab5..160e316 100755 --- 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";