projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00ed247
)
t/TEST doesn't check exit (was Re: Test::More bug?)
author
Michael G. Schwern
<schwern@pobox.com>
Tue, 18 Sep 2007 18:25:14 +0000
(11:25 -0700)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 19 Sep 2007 07:56:56 +0000
(07:56 +0000)
Message-ID: <
46F07A7A
.1060900@pobox.com>
p4raw-id: //depot/perl@31896
t/TEST
patch
|
blob
|
history
diff --git
a/t/TEST
b/t/TEST
index
5c6c613
..
e702ffb
100755
(executable)
--- a/
t/TEST
+++ b/
t/TEST
@@
-479,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++;