1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

gitlab-ci: report JUnit results for memcheck runs

This commit is contained in:
Ben Boeckel
2025-09-26 14:43:44 -04:00
parent 8459ff022b
commit 35337bcc06
2 changed files with 2 additions and 0 deletions

View File

@@ -1023,6 +1023,7 @@ t:fedora42-asan:
- .fedora42_asan
- .cmake_memcheck_linux
- .linux_x86_64_tags
- .cmake_junit_artifacts
- .run_dependent
needs:
- b:fedora42-asan

View File

@@ -26,6 +26,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/ctest_exclusions.cmake")
ctest_memcheck(
PARALLEL_LEVEL "${nproc}"
TEST_LOAD "${nproc}"
OUTPUT_JUNIT "${CTEST_BINARY_DIRECTORY}/junit.xml"
RETURN_VALUE test_result
EXCLUDE "${test_exclusions}"
DEFECT_COUNT defects)