X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2FTEST;h=e702ffbeccbf5465b3f579502644b450084a2b26;hb=d279ab826c469db5d93d3d728fdcf1acd9265665;hp=f37d2bed3797f35ce5a0f9bfd36277abe492c9c7;hpb=6b202754e48fe50b2e197258ffdabd22fc2752c2;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/TEST b/t/TEST index f37d2be..e702ffb 100755 --- a/t/TEST +++ b/t/TEST @@ -104,7 +104,7 @@ sub _populate_hash { } unless (@ARGV) { - foreach my $dir (qw(base comp cmd run io op uni)) { + foreach my $dir (qw(base comp cmd run io op uni mro)) { _find_tests($dir); } _find_tests("lib") unless $::core; @@ -163,6 +163,7 @@ unless (@ARGV) { warn "$0: cannot open $mani: $!\n"; } unless ($::core) { + _find_tests('Module_Pluggable'); _find_tests('pod'); _find_tests('x2p'); _find_tests('japh') if $::torture; @@ -478,6 +479,12 @@ EOT $failure="FAILED--expected $max tests, saw $next"; } + if( !defined $failure # don't mask a test failure + and $? ) + { + $failure = "FAILED--non-zero wait status: $?"; + } + if (defined $failure) { print "${te}$failure\n"; $::bad_files++;