summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-02-12 14:34:48 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-02-17 18:52:45 +0100
commite1de11d4671ef980889940e95c06912cc188a9fb (patch)
tree1e46c5c7d16684c5f83dd15352b1f7e90ed3663d /run-tests.php
parent54ecf57fe290f69a2112d4c2ea3a1e99208e2797 (diff)
downloadphp-git-e1de11d4671ef980889940e95c06912cc188a9fb.tar.gz
Create a new console for each test worker on Windows
The primary motivation to have each test worker running its own console is to allow the windows_mb_path tests to run in parallel. A nice side effect is that this also prevents changing the code page of the tester's console window (which can even cause its font to be changed). To be able to do so, we introduce the `create_new_console` option for `proc_open()`, which might occasionally be useful for other purposes than testing.
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 1b17354111..e632f69a82 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1424,7 +1424,8 @@ function run_all_tests_parallel($test_files, $env, $redir_tested) {
"TEST_PHP_URI" => $sockUri,
],
[
- "suppress_errors" => TRUE
+ "suppress_errors" => TRUE,
+ 'create_new_console' => TRUE,
]
);
if ($proc === FALSE) {