diff options
author | Eric Wong <e@80x24.org> | 2023-03-07 09:54:15 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-03-07 19:12:35 +0000 |
commit | 0fa19f1a4b6949808c311312e80d9d3a5010cc23 (patch) | |
tree | b7160be28e5f496248c8e20608e30138f7ab60eb /lib/PublicInbox/TestCommon.pm | |
parent | ac4ca042c45137f3cffa773a9634c9db9863b820 (diff) | |
download | public-inbox-0fa19f1a4b6949808c311312e80d9d3a5010cc23.tar.gz |
`make check' and `make check-run' actually work fine with it, and TMPDIR=/dev/shm prove -lvw t/clone-coderepo.t is 2-3x faster
Diffstat (limited to 'lib/PublicInbox/TestCommon.pm')
-rw-r--r-- | lib/PublicInbox/TestCommon.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm index fe7af452..5807105a 100644 --- a/lib/PublicInbox/TestCommon.pm +++ b/lib/PublicInbox/TestCommon.pm @@ -295,7 +295,6 @@ sub run_script ($;$$) { my ($cmd, $env, $opt) = @_; my ($key, @argv) = @$cmd; my $run_mode = $ENV{TEST_RUN_MODE} // $opt->{run_mode} // 1; - $run_mode = 0 if $key eq '-clone'; # relies on SIGCHLD + waitpid(-1) my $sub = $run_mode == 0 ? undef : key2sub($key); my $fhref = []; my $spawn_opt = {}; |