Skip to content

Commit c809a21

Browse files
committedAug 12, 2022
Fix run-tests.php --no-progress flag for non-parallel testing
1 parent 1f6baa7 commit c809a21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎run-tests.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -1790,6 +1790,7 @@ function run_test(string $php, $file, array $env): string
17901790
global $num_repeats;
17911791
// Parallel testing
17921792
global $workerID;
1793+
global $show_progress;
17931794

17941795
// Temporary
17951796
/** @var JUnit */
@@ -1901,7 +1902,7 @@ function run_test(string $php, $file, array $env): string
19011902
}
19021903
}
19031904

1904-
if (!$SHOW_ONLY_GROUPS && !$workerID) {
1905+
if ($show_progress && !$workerID) {
19051906
show_test($test_idx, $shortname);
19061907
}
19071908

0 commit comments

Comments
 (0)