projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
61edc68
)
Actually commit the state infomation at the end of a test run.
Nicholas Clark [Wed, 14 Jan 2009 10:34:23 +0000 (10:34 +0000)]
Reduces my elapsed time by about 5% threaded or unthreaded on the second run.
t/harness
patch
|
blob
|
blame
|
history
diff --git
a/t/harness
b/t/harness
index
e6e8d9e
..
9c57626
100644
(file)
--- a/
t/harness
+++ b/
t/harness
@@
-236,6
+236,11
@@
if ($jobs) {
$state->observe_test(@_);
}
);
+ $h->callback(
+ after_runtests => sub {
+ $state->commit(@_);
+ }
+ );
}
$h->runtests(@tests);
} else {