summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-02-28 10:57:24 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-02-28 10:57:24 +0100
commita0b527eb33a5aa50d85e1dc2e5e6d7c32d771109 (patch)
tree36e6cdddcafc6a8d952d28cae94646c614c5c4c9
parenta18e5c61cd542725356d2765cb65498777e40d2c (diff)
downloadphp-git-a0b527eb33a5aa50d85e1dc2e5e6d7c32d771109.tar.gz
Disable test parallelization on AppVeyor with opcache
This is too unstable due to shared opcache state. Disabling it until this issue is resolved to reduce the number of spurious failures.
-rw-r--r--.appveyor.yml2
-rw-r--r--appveyor/test_task.bat2
2 files changed, 3 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 9ef6c2c107..67a53e9b59 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -30,8 +30,10 @@ environment:
matrix:
- THREAD_SAFE: 0
OPCACHE: 0
+ PARALLEL: -j2
- THREAD_SAFE: 1
OPCACHE: 1
+ PARALLEL:
INTRINSICS: AVX
services:
diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat
index 9604524608..6bf99ad23e 100644
--- a/appveyor/test_task.bat
+++ b/appveyor/test_task.bat
@@ -91,7 +91,7 @@ mkdir c:\tests_tmp
set TEST_PHP_JUNIT=c:\junit.out.xml
cd "%APPVEYOR_BUILD_FOLDER%"
-nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --show-slow 1000 --set-timeout 120 -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP --temp-source c:\tests_tmp --temp-target c:\tests_tmp -j2"
+nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --show-slow 1000 --set-timeout 120 -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP --temp-source c:\tests_tmp --temp-target c:\tests_tmp %PARALLEL%"
set EXIT_CODE=%errorlevel%