diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-01-14 10:34:23 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-01-14 10:34:23 +0000 |
commit | 0b4436e8e06f0f88c3a1e061bf4e043a07bfcae3 (patch) | |
tree | 2ca56fe952c207a3b31853a2d20ec80339aea654 /t/harness | |
parent | 61edc68382f612a884a3181266d6220ea3a727eb (diff) | |
download | perl-0b4436e8e06f0f88c3a1e061bf4e043a07bfcae3.tar.gz |
Actually commit the state infomation at the end of a test run.
Reduces my elapsed time by about 5% threaded or unthreaded on the second run.
Diffstat (limited to 't/harness')
-rw-r--r-- | t/harness | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -236,6 +236,11 @@ if ($jobs) { $state->observe_test(@_); } ); + $h->callback( + after_runtests => sub { + $state->commit(@_); + } + ); } $h->runtests(@tests); } else { |