mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
6a594fed96
We need to clear out and re-create the tmp directory when running valgrind just like for the normal test run.
5 lines
245 B
CMake
5 lines
245 B
CMake
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})
|