added ctest options for valgrind

This commit is contained in:
Ismael Gomez 2017-06-27 11:42:20 +02:00
parent 2a43c9901f
commit 2c85d3f890
2 changed files with 3 additions and 1 deletions

View File

@ -42,6 +42,8 @@ include(SRSLTEPackage) #setup cpack
include(CTest) include(CTest)
set(CTEST_MEMORYCHECK_COMMAND valgrind) set(CTEST_MEMORYCHECK_COMMAND valgrind)
set(CTEST_MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes --leak-check=full" )
configure_file( configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in" "${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake" "${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake"

View File

@ -7,7 +7,7 @@ SET(CTEST_CUSTOM_MEMCHECK_IGNORE
realplot_test realplot_test
complexplot_test complexplot_test
# Ignore these to, they take too lonk # Ignore these to, they take too long
fft_normal fft_normal
fft_extened fft_extened
chest_test_all_cellids chest_test_all_cellids