projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8defa3
)
cmake: set pre and post memcheck commands.
author
Tom Hughes
<tom.hughes@palm.com>
Fri, 24 Dec 2010 01:14:08 +0000
(19:14 -0600)
committer
Ryan Dahl
<ry@tinyclouds.org>
Fri, 18 Feb 2011 18:44:36 +0000
(10:44 -0800)
We need to clear out and re-create the tmp directory when running
valgrind just like for the normal test run.
cmake/CTestCustom.cmake
patch
|
blob
|
history
diff --git
a/cmake/CTestCustom.cmake
b/cmake/CTestCustom.cmake
index
65af325
..
fcb09e4
100644
(file)
--- a/
cmake/CTestCustom.cmake
+++ b/
cmake/CTestCustom.cmake
@@
-1,2
+1,4
@@
set(CTEST_CUSTOM_PRE_TEST "sh -c \"rm -rf ../test/tmp && mkdir ../test/tmp\"")
set(CTEST_CUSTOM_POST_TEST ${CTEST_CUSTOM_PRE_TEST})
+set(CTEST_CUSTOM_PRE_MEMCHECK ${CTEST_CUSTOM_PRE_TEST})
+set(CTEST_CUSTOM_POST_MEMCHECK ${CTEST_CUSTOM_PRE_TEST})