From a0f76db46938074c0b2bd3e79b67ec28503c4ab6 Mon Sep 17 00:00:00 2001 From: Ben Deane Date: Thu, 22 Aug 2024 16:46:32 -0600 Subject: [PATCH] :bug: :construction_worker: Use `--output-on-failure` flag for `ctest` --- .github/workflows/unit_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 53cdcb8..05f9c1b 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -155,7 +155,7 @@ jobs: - name: Test working-directory: ${{github.workspace}}/build - run: ctest -j $(nproc) -C ${{matrix.build_type}} + run: ctest --output-on-failure -j $(nproc) -C ${{matrix.build_type}} quality_checks_pass: runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04 @@ -318,7 +318,7 @@ jobs: - name: Test working-directory: ${{github.workspace}}/build run: | - ctest -j $(nproc) -E EXPECT_FAIL -T memcheck + ctest --output-on-failure -j $(nproc) -E EXPECT_FAIL -T memcheck LOGFILE=$(ls ./Testing/Temporary/LastDynamicAnalysis_*.log) FAILSIZE=$(du -c ./Testing/Temporary/MemoryChecker.* | tail -1 | cut -f1)