about summary refs log tree commit homepage
path: root/lib/PublicInbox/TestCommon.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-03-07 09:54:15 +0000
committerEric Wong <e@80x24.org>2023-03-07 19:12:35 +0000
commit0fa19f1a4b6949808c311312e80d9d3a5010cc23 (patch)
treeb7160be28e5f496248c8e20608e30138f7ab60eb /lib/PublicInbox/TestCommon.pm
parentac4ca042c45137f3cffa773a9634c9db9863b820 (diff)
downloadpublic-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.pm1
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 = {};