浏览代码

Merge topic 'ci-win-no-ExternalData'

a58e3c7e8b ci: Skip the Module.ExternalData test on Windows

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5311
Brad King 5 年之前
父节点
当前提交
ad478a4a39
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      .gitlab/ci/ctest_exclusions.cmake

+ 9 - 0
.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})")