This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c8b19
)
Make t/harness have non-zero exit if tests fail
author
David Golden
<dagolden@cpan.org>
Fri, 2 Oct 2009 00:51:30 +0000
(20:51 -0400)
committer
David Golden
<dagolden@cpan.org>
Fri, 2 Oct 2009 00:51:30 +0000
(20:51 -0400)
t/harness
patch
|
blob
|
blame
|
history
diff --git
a/t/harness
b/t/harness
index
d5099bf
..
88a7bfa
100644
(file)
--- a/
t/harness
+++ b/
t/harness
@@
-256,5
+256,5
@@
$h->callback(
}
);
-$h->runtests(@tests);
-exit
(0)
;
+
my $agg =
$h->runtests(@tests);
+exit
$agg->has_errors ? 1 : 0
;