mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Problem: VS2008/2010/2017 tests fail if run in parallel
Solution: disabled parallel testing for these VS versions
This commit is contained in:
parent
fae88633d7
commit
33ba7e14b3
11
appveyor.yml
11
appveyor.yml
@ -153,7 +153,16 @@ after_build:
|
|||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cmd: cd "%LIBZMQ_BUILDDIR%"
|
- cmd: cd "%LIBZMQ_BUILDDIR%"
|
||||||
- cmd: ctest -C "%Configuration%" -V -j5
|
# TODO run tests in parallel only on selected platforms, since they fail on others, see https://github.com/zeromq/libzmq/issues/3123
|
||||||
|
- cmd: if "%CMAKE_GENERATOR%"=="Visual Studio 12 2013" set PARALLELIZE=ON
|
||||||
|
- cmd: if "%CMAKE_GENERATOR%"=="Visual Studio 14 2015" set PARALLELIZE=ON
|
||||||
|
- cmd: if "%CMAKE_GENERATOR%"=="Visual Studio 12 2013 Win64" set PARALLELIZE=ON
|
||||||
|
- cmd: if "%CMAKE_GENERATOR%"=="Visual Studio 14 2015 Win64" set PARALLELIZE=ON
|
||||||
|
- cmd: if "%PARALLELIZE%"=="ON" (
|
||||||
|
echo "Running tests in parallel" &&
|
||||||
|
set TEST_OPTIONS=-j5
|
||||||
|
)
|
||||||
|
- cmd: ctest -C "%Configuration%" -V %TEST_OPTIONS%
|
||||||
|
|
||||||
for:
|
for:
|
||||||
-
|
-
|
||||||
|
Loading…
x
Reference in New Issue
Block a user