summaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
authorOlli Salli <ollisal@gmail.com>2010-10-01 17:03:09 +0300
committerOlli Salli <ollisal@gmail.com>2010-10-01 17:34:43 +0300
commit7c2bcc8f3aa78333429ec801c5964e2ffc3571ca (patch)
tree194ecdac36b363efbd0d2d0ecfdd39ce709a4637 /cmake/modules
parentbb97eee877638161d1ae9535bf097ad8f53ebf54 (diff)
Make the valgrind/callgrind output/log files have more useful names
Diffstat (limited to 'cmake/modules')
-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}