[differences between cumulative patch application and perl5.003_28]
[p5sagit/p5-mst-13.2.git] / t / TEST
diff --git a/t/TEST b/t/TEST
index c9d89af..215138e 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -21,7 +21,7 @@ $ENV{EMXSHELL} = 'sh';        # For OS/2
 
 if ($ARGV[0] eq '') {
     @ARGV = split(/[ \n]/,
-      `echo base/*.t comp/*.t cmd/*.t pragma/*.t io/*.t; echo op/*.t lib/*.t`);
+      `echo base/*.t comp/*.t cmd/*.t io/*.t; echo op/*.t pragma/*.t lib/*.t`);
 }
 
 if ($^O eq 'os2' || $^O eq 'qnx') {
@@ -121,13 +121,20 @@ if ($bad == 0) {
     } else {
        warn "Failed $bad test scripts out of $total, $pct% okay.\n";
     }
-       warn <<'SHRDLU';
-   ### Since not all tests were successful, you may want to run
-   ### some tests individually to see the diagnostic messages,
-   ### if any. See the INSTALL document's section on "make test".
+       warn <<'SHRDLU';
+   ### Since not all tests were successful, you may want to run some
+   ### of them individually and examine any diagnostic messages they
+   ### produce.  See the INSTALL document's section on "make test".
+SHRDLU
+       warn <<'SHRDLU' if $good / $total > 0.8;
+   ###
+   ### Since most tests were successful, you have a good chance to
+   ### get information with better granularity by running
+   ###     ./perl harness
+   ### in directory ./t.
 SHRDLU
 }
 ($user,$sys,$cuser,$csys) = times;
 print sprintf("u=%g  s=%g  cu=%g  cs=%g  scripts=%d  tests=%d\n",
     $user,$sys,$cuser,$csys,$files,$totmax);
-exit($bad != 0);
+exit $bad != 0;