X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2FTEST;h=215138ef90c457c51f8653db8b3d92a0ff305b56;hb=7efcc441c96951d44f6ea2c8a2be6ddcc6ea6d4c;hp=c9d89af619fae8f5d980474351981dab84debe28;hpb=1ce51ea5e928b0e6fe3d33c847a736aaee083a49;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/TEST b/t/TEST index c9d89af..215138e 100755 --- 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;