diff options
-rw-r--r-- | .gitlab/ci/ctest_exclusions.cmake | 9 |
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})") |