diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-05-01 18:05:18 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-06-30 15:56:05 (GMT) |
commit | cb5c03ed04488d9976f0afaee59e901050c82c82 (patch) | |
tree | 05f8d41d18fc578868dffd0686db8d24165d7324 /.gitlab/ci/ctest_test.cmake | |
parent | 722270ff502522ed88b14a48263f335939b0acac (diff) | |
download | CMake-cb5c03ed04488d9976f0afaee59e901050c82c82.zip CMake-cb5c03ed04488d9976f0afaee59e901050c82c82.tar.gz CMake-cb5c03ed04488d9976f0afaee59e901050c82c82.tar.bz2 |
gitlab-ci: upload JUnit reports for builds
GitLab can render test results which come from JUnit files and inform
which tests have started failing on an MR.
Diffstat (limited to '.gitlab/ci/ctest_test.cmake')
-rw-r--r-- | .gitlab/ci/ctest_test.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab/ci/ctest_test.cmake b/.gitlab/ci/ctest_test.cmake index facf9ba..b02d032 100644 --- a/.gitlab/ci/ctest_test.cmake +++ b/.gitlab/ci/ctest_test.cmake @@ -20,6 +20,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/ctest_exclusions.cmake") ctest_test( PARALLEL_LEVEL "${nproc}" TEST_LOAD "${nproc}" + OUTPUT_JUNIT "${CTEST_BINARY_DIRECTORY}/junit.xml" RETURN_VALUE test_result EXCLUDE "${test_exclusions}") ctest_submit(PARTS Test) |