File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ jobs:
189189 memory-check :
190190 runs-on : ubuntu-latest
191191 env :
192- BUILD_TYPE : Release
192+ BUILD_TYPE : Debug
193193
194194 steps :
195195
@@ -219,4 +219,6 @@ jobs:
219219
220220 - name : Test
221221 working-directory : ${{github.workspace}}/build
222- run : ctest -C ${{env.BUILD_TYPE}} --schedule-random -j2 --output-on-failure
222+ run : |
223+ ctest -C ${{env.BUILD_TYPE}} --schedule-random -j2 -T memcheck
224+ cat valgrind-out.txt
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ endif()
4949find_program ( MEMORYCHECK_COMMAND valgrind )
5050if ( MEMORYCHECK_COMMAND )
5151 message ( STATUS "Found valgrind: ${MEMORYCHECK_COMMAND} " )
52- set ( MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes --leak-check=full " )
52+ set ( MEMORYCHECK_COMMAND_OPTIONS "--leak-check=full --show- leak-kinds=all --log-file=valgrind-out.txt --track-origins=yes " )
5353endif ()
5454
5555# By default test Fortran compiler complex abs and complex division
You can’t perform that action at this time.
0 commit comments