com php-src: Disable test parallelization on AppVeyor with opcache: .appveyor.yml appveyor/test_task.bat
| From: | Nikita Popov | Date: | Thu, 28 Feb 2019 09:57:24 +0000 |
| Subject: | com php-src: Disable test parallelization on AppVeyor with opcache: .appveyor.yml appveyor/test_task.bat | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104888@lists.php.net to get a copy of this message | ||
Commit: a0b527eb33a5aa50d85e1dc2e5e6d7c32d771109
Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 28 Feb 2019 10:57:24 +0100
Parents: a18e5c61cd542725356d2765cb65498777e40d2c
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a0b527eb33a5aa50d85e1dc2e5e6d7c32d771109
Log:
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.
Changed paths:
M .appveyor.yml
M appveyor/test_task.bat
Diff:
diff --git a/.appveyor.yml b/.appveyor.yml
index 9ef6c2c..67a53e9 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 9604524..6bf99ad 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%