From c809a213f231eba7a10b1a61164bf2b1ea9df7b3 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Fri, 12 Aug 2022 12:50:25 +0200 Subject: [PATCH] Fix run-tests.php --no-progress flag for non-parallel testing --- run-tests.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index 7bf892337a5bb..157a821ddfeec 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1790,6 +1790,7 @@ function run_test(string $php, $file, array $env): string global $num_repeats; // Parallel testing global $workerID; + global $show_progress; // Temporary /** @var JUnit */ @@ -1901,7 +1902,7 @@ function run_test(string $php, $file, array $env): string } } - if (!$SHOW_ONLY_GROUPS && !$workerID) { + if ($show_progress && !$workerID) { show_test($test_idx, $shortname); }