We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88277c5 commit cfe1114Copy full SHA for cfe1114
.github/workflows/cmake.yml
@@ -222,10 +222,19 @@ jobs:
222
working-directory: ${{github.workspace}}/build
223
run: |
224
ctest -C ${{env.BUILD_TYPE}} --schedule-random -j2 -T memcheck > memcheck.out
225
+ cat memcheck.out
226
if tail -n 1 memcheck.out | grep -q "Memory checking results:"; then
- cat memcheck.out
227
exit 0
228
else
229
230
- exit 1
+ for f in Testing/Temporary/MemoryChecker.*.log; do
+ if tail -n 1 $f | grep -q "ERROR SUMMARY: 0 errors"; then
231
+ tail -n 1 $f
232
+ continue
233
+ else
234
+ echo "Memory check failed in $f"
235
+ cat $f
236
+ exit 1
237
+ fi
238
+ done
239
+ exit 0
240
fi
0 commit comments