summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-09 15:42:13 (GMT)
committerBrad King <brad.king@kitware.com>2021-12-09 15:42:13 (GMT)
commit9f5c872ed1e67f9c1f69e7611211c44efa212295 (patch)
tree201741aec9429c8906da1b6d2a1c2fbb316f30f0 /.gitlab
parentf22aa2f466bf29a6f3ae773f7f86960888cd02ba (diff)
downloadCMake-9f5c872ed1e67f9c1f69e7611211c44efa212295.zip
CMake-9f5c872ed1e67f9c1f69e7611211c44efa212295.tar.gz
CMake-9f5c872ed1e67f9c1f69e7611211c44efa212295.tar.bz2
ci: Exclude spuriously failing test from JOM nightly CI job
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.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/ctest_exclusions.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab/ci/ctest_exclusions.cmake b/.gitlab/ci/ctest_exclusions.cmake
index 3460d48..89a5ace 100644
--- a/.gitlab/ci/ctest_exclusions.cmake
+++ b/.gitlab/ci/ctest_exclusions.cmake
@@ -20,6 +20,13 @@ if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "_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})")