X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2FTEST;h=cae81031c290872df3cafaaf359544f484320391;hb=48bfcc53740a66ec5a66616b846e1db9955c1c69;hp=a6cca533733dafa29df4516975d38012d22be386;hpb=3d9caabd40a64fc765db33cde6b98e2a9c531c08;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/TEST b/t/TEST index a6cca53..cae8103 100755 --- a/t/TEST +++ b/t/TEST @@ -51,6 +51,7 @@ while ($test = shift) { chop($te); print "$te" . '.' x (18 - length($te)); if ($sharpbang) { + -x $test || (print "isn't executable.\n"); open(RESULTS,"./$test |") || (print "can't run.\n"); } else { open(SCRIPT,"$test") || die "Can't run $test.\n"; @@ -101,7 +102,7 @@ while ($test = shift) { } } else { $next += 1; - print "FAILED on test $next\n"; + print "FAILED at test $next\n"; $bad = $bad + 1; $_ = $test; if (/^base/) { @@ -113,6 +114,7 @@ while ($test = shift) { if ($bad == 0) { if ($ok) { print "All tests successful.\n"; + # XXX add mention of 'perlbug -ok' ? } else { die "FAILED--no tests were run for some reason.\n"; }