Skip to content

Commit

Permalink
Problem: VS2008/2010/2017 tests fail if run in parallel
Browse files Browse the repository at this point in the history
Solution: disabled parallel testing for these VS versions
  • Loading branch information
sigiesec committed May 26, 2018
1 parent fae8863 commit 33ba7e1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
-
Expand Down

0 comments on commit 33ba7e1

Please sign in to comment.