Skip to content

Commit 129946c

Browse files
committed
Auto-mark setlocale tests with conflict
1 parent a64ce8b commit 129946c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

run-tests.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,9 @@ function run_all_tests_parallel(array $test_files, array $env, ?string $redir_te
13501350
}
13511351
$conflicts = $dirConflictsWith[$dir];
13521352
}
1353+
if (stripos($contents, 'setlocale') !== false) {
1354+
$conflicts[] = 'setlocale';
1355+
}
13531356

13541357
// For tests conflicting with "all", no other tests may run in parallel. We'll run these
13551358
// tests separately at the end, when only one worker is left.

0 commit comments

Comments
 (0)