From 2b2879eef7ab175ff13fc9b34be5ac7b6cbe25b5 Mon Sep 17 00:00:00 2001 From: langou Date: Mon, 1 Dec 2025 02:04:58 -0700 Subject: [PATCH] Add output-on-failure to ctest command --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 087ed262d4..e98f06e49d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -221,7 +221,7 @@ jobs: - name: Test working-directory: ${{github.workspace}}/build run: | - ctest -C ${{env.BUILD_TYPE}} --schedule-random -j2 -T memcheck > memcheck.out + ctest -C ${{env.BUILD_TYPE}} --output-on-failure --schedule-random -j2 -T memcheck > memcheck.out cat memcheck.out if tail -n 1 memcheck.out | grep -q "Memory checking results:"; then exit 0