From 33ba7e14b3ca1e7441dd3ac73a71dd9062d23973 Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Fri, 25 May 2018 21:56:58 +0200 Subject: [PATCH] Problem: VS2008/2010/2017 tests fail if run in parallel Solution: disabled parallel testing for these VS versions --- appveyor.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 883bb780..14c2e13a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -153,7 +153,16 @@ after_build: test_script: - 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: -