summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/ctest_exclusions.cmake
blob: eb9b724fa98d3b9c1f66a8f55b4abe4193c5ac46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set(test_exclusions
)

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 ()

string(REPLACE ";" "|" test_exclusions "${test_exclusions}")
if (test_exclusions)
  set(test_exclusions "(${test_exclusions})")
endif ()