summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-01 21:05:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-01 21:05:58 (GMT)
commitad478a4a398d6048c2cb9dbb05c1aecd8c31608e (patch)
tree911695a7086f9376de8531fb6b78aae98c08a046
parent6dac9b28fe6faeb275d561eec306f0eaa592fd3e (diff)
parenta58e3c7e8b2d38a788c284b2fdc21c3da1935fd3 (diff)
downloadCMake-ad478a4a398d6048c2cb9dbb05c1aecd8c31608e.zip
CMake-ad478a4a398d6048c2cb9dbb05c1aecd8c31608e.tar.gz
CMake-ad478a4a398d6048c2cb9dbb05c1aecd8c31608e.tar.bz2
Merge topic 'ci-win-no-ExternalData'
a58e3c7e8b ci: Skip the Module.ExternalData test on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5311
-rw-r--r--.gitlab/ci/ctest_exclusions.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab/ci/ctest_exclusions.cmake b/.gitlab/ci/ctest_exclusions.cmake
index b885a6a..a68a693 100644
--- a/.gitlab/ci/ctest_exclusions.cmake
+++ b/.gitlab/ci/ctest_exclusions.cmake
@@ -13,6 +13,15 @@ if (CTEST_CMAKE_GENERATOR MATCHES "Visual Studio")
"^ExternalProjectUpdateSetup$")
endif ()
+if (CMAKE_HOST_WIN32)
+ list(APPEND test_exclusions
+ # This test often fails with an undiagnosed subtle race due to the test
+ # re-using the same objects for many files. Some copy operations fail
+ # to open their input with ERROR_SHARING_VIOLATION.
+ "^Module.ExternalData$"
+ )
+endif()
+
string(REPLACE ";" "|" test_exclusions "${test_exclusions}")
if (test_exclusions)
set(test_exclusions "(${test_exclusions})")