Skip to content

Commit a0f76db

Browse files
committed
🐛 👷 Use --output-on-failure flag for ctest
1 parent 51180be commit a0f76db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/unit_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155

156156
- name: Test
157157
working-directory: ${{github.workspace}}/build
158-
run: ctest -j $(nproc) -C ${{matrix.build_type}}
158+
run: ctest --output-on-failure -j $(nproc) -C ${{matrix.build_type}}
159159

160160
quality_checks_pass:
161161
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
@@ -318,7 +318,7 @@ jobs:
318318
- name: Test
319319
working-directory: ${{github.workspace}}/build
320320
run: |
321-
ctest -j $(nproc) -E EXPECT_FAIL -T memcheck
321+
ctest --output-on-failure -j $(nproc) -E EXPECT_FAIL -T memcheck
322322
323323
LOGFILE=$(ls ./Testing/Temporary/LastDynamicAnalysis_*.log)
324324
FAILSIZE=$(du -c ./Testing/Temporary/MemoryChecker.* | tail -1 | cut -f1)

0 commit comments

Comments
 (0)