Skip to content

Commit

Permalink
Fix run-tests.php --no-progress flag for non-parallel testing
Browse files Browse the repository at this point in the history
  • Loading branch information
iluuu1994 committed Aug 12, 2022
1 parent 1f6baa7 commit c809a21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run-tests.php
Expand Up @@ -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 */
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit c809a21

Please sign in to comment.