summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/modules/TpQt4Macros.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/modules/TpQt4Macros.cmake b/cmake/modules/TpQt4Macros.cmake
index 0b48e1a1..2d01d870 100644
--- a/cmake/modules/TpQt4Macros.cmake
+++ b/cmake/modules/TpQt4Macros.cmake
@@ -367,7 +367,7 @@ macro(_tpqt4_add_check_targets _fancyName _name)
--child-silent-after-fork=yes
--num-callers=20
--gen-suppressions=all
- --log-file=${CMAKE_CURRENT_BINARY_DIR}/test.valgrind.log.${_fancyName}
+ --log-file=${CMAKE_CURRENT_BINARY_DIR}/test-${_fancyName}.memcheck.log
${ARGN}
WORKING_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}
@@ -382,7 +382,8 @@ macro(_tpqt4_add_check_targets _fancyName _name)
COMMAND valgrind
--tool=callgrind
--dump-instr=yes
- --log-file=${CMAKE_CURRENT_BINARY_DIR}/test.callgrind.log.${_fancyName}
+ --log-file=${CMAKE_CURRENT_BINARY_DIR}/test-${_fancyName}.callgrind.log
+ --callgrind-out-file=${CMAKE_CURRENT_BINARY_DIR}/test-${_fancyName}.callgrind.out
${ARGN}
WORKING_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}