projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
19c8b19
)
Make t/harness have non-zero exit if tests fail
David Golden [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;