summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-01 19:31:12 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-01 19:31:35 (GMT)
commita58e3c7e8b2d38a788c284b2fdc21c3da1935fd3 (patch)
tree911695a7086f9376de8531fb6b78aae98c08a046 /.gitlab
parent6dac9b28fe6faeb275d561eec306f0eaa592fd3e (diff)
downloadCMake-a58e3c7e8b2d38a788c284b2fdc21c3da1935fd3.zip
CMake-a58e3c7e8b2d38a788c284b2fdc21c3da1935fd3.tar.gz
CMake-a58e3c7e8b2d38a788c284b2fdc21c3da1935fd3.tar.bz2
ci: Skip the Module.ExternalData test on Windows
This test spuriously fails too frequently and breaks our pipelines. Pending further investigation into the race causing the failure, skip the test on Windows for now. The module is well covered by the test on other platforms anyway.
Diffstat (limited to '.gitlab')
-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})")