summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-02 14:23:52 +0000
committerKitware Robot <kwrobot@kitware.com>2021-04-02 10:23:59 -0400
commit94030ba1b60e3095d6f1e069cbb4ea5718653264 (patch)
treeb9f56f22e78fa84004eb18da32aa7c3c3e2e2427
parenteb7017f3b3e945d2d0107ec7e9ec7347c2c606fd (diff)
parent7829136a6fc582b52f5ff19d749b84f59cb8db78 (diff)
downloadcmake-94030ba1b60e3095d6f1e069cbb4ea5718653264.tar.gz
Merge topic 'ci-test-ext-done'
7829136a6f gitlab-ci: Tell CDash when a test-ext job is done Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5971
-rw-r--r--.gitlab/ci/ctest_test_external.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab/ci/ctest_test_external.cmake b/.gitlab/ci/ctest_test_external.cmake
index 9e2d42124a..7a5e94a15d 100644
--- a/.gitlab/ci/ctest_test_external.cmake
+++ b/.gitlab/ci/ctest_test_external.cmake
@@ -28,6 +28,7 @@ ctest_submit(PARTS Update)
ctest_submit(PARTS Configure)
if (configure_result)
+ ctest_submit(PARTS Done)
message(FATAL_ERROR
"Failed to configure")
endif ()
@@ -50,11 +51,13 @@ ctest_build(
ctest_submit(PARTS Build)
if (build_result)
+ ctest_submit(PARTS Done)
message(FATAL_ERROR
"Failed to build")
endif ()
if ("$ENV{CTEST_NO_WARNINGS_ALLOWED}" AND num_warnings GREATER 0)
+ ctest_submit(PARTS Done)
message(FATAL_ERROR
"Found ${num_warnings} warnings (treating as fatal).")
endif ()
@@ -74,6 +77,9 @@ ctest_test(
ctest_submit(PARTS Test)
if (test_result)
+ ctest_submit(PARTS Done)
message(FATAL_ERROR
"Failed to test")
endif ()
+
+ctest_submit(PARTS Done)