From 071ffa2e7946a8f4fca856c9984be512d1eadbbc Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 25 Mar 2019 14:15:26 +0100 Subject: [PATCH] Don't use parallel testing with -j1 --- run-tests.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run-tests.php b/run-tests.php index fc40ae8a2f..a8dbd81c38 100755 --- a/run-tests.php +++ b/run-tests.php @@ -388,6 +388,10 @@ NO_PROC_OPEN_ERROR; error("'$workers' is not a valid number of workers, try e.g. -j16 for 16 workers"); } $workers = intval($workers, 10); + // Don't use parallel testing infrastructure if there is only one worker. + if ($workers === 1) { + $workers = null; + } break; case 'r': case 'l': -- 2.50.1