mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
9f5c872ed1
Since commit 3b9975d9b5 (ci: Add JOM nightly CI job, 2021-11-17) the
`ExternalProject` test often fails spuriously with an internal error
message from JOM. Exclude it for now pending further investigation.
Prior to covering JOM in CI, it was covered by a standalone nightly
build that excluded the `ExternalProject` test for the same reason.
34 lines
1.0 KiB
CMake
34 lines
1.0 KiB
CMake
set(test_exclusions
|
|
# This test hits global resources and can be handled by nightly testing.
|
|
# https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4769
|
|
"^BundleGeneratorTest$"
|
|
)
|
|
|
|
if (CTEST_CMAKE_GENERATOR MATCHES "Visual Studio")
|
|
list(APPEND test_exclusions
|
|
# This test takes around 5 minutes with Visual Studio.
|
|
# https://gitlab.kitware.com/cmake/cmake/-/issues/20733
|
|
"^ExternalProjectUpdate$"
|
|
# This test is a dependency of the above and is only required for it.
|
|
"^ExternalProjectUpdateSetup$")
|
|
endif ()
|
|
|
|
if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "_asan")
|
|
list(APPEND test_exclusions
|
|
CTestTest2 # crashes on purpose
|
|
BootstrapTest # no need to cover this for asan
|
|
)
|
|
endif()
|
|
|
|
if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "_jom")
|
|
list(APPEND test_exclusions
|
|
# JOM often fails with "Couldn't change working directory to ...".
|
|
"^ExternalProject$"
|
|
)
|
|
endif()
|
|
|
|
string(REPLACE ";" "|" test_exclusions "${test_exclusions}")
|
|
if (test_exclusions)
|
|
set(test_exclusions "(${test_exclusions})")
|
|
endif ()
|