Hello, <br><br>We just changed our testing platform to ctest and I&#39;m trying to add memory checks with valgrind. When I run the test, I get this output:<br><br>100% tests passed, 0 tests failed out of 17<br>Memory check project /home/brouwer/TestProject/trunk_build<br>
Memory checker (MemoryCheckCommand) not set, or cannot find the specified program.<br><br>In my CMakeCache.txt are the following lines (automatically generated):<br><br>//Path to the memory checking command, used for memory error detection.<br>
MEMORYCHECK_COMMAND:FILEPATH=/usr/bin/valgrind<br><br>If i call &quot;which valgrind&quot; on the command prompt, I get the following output:<br>/usr/bin/valgrind<br><br>I can not figure out what I&#39;m missing. I&#39;m using cmake 2.6. and call the following script:<br>
<br>ctest -V -S ../trunk_src/script/test.cmake<br><br>--------------------test.cmake ----------------------<br>SET (CTEST_SOURCE_DIRECTORY &quot;$ENV{HOME}/TestProject/trunk_src&quot;)<br>SET (CTEST_BINARY_DIRECTORY &quot;$ENV{HOME}/TestProject/trunk_build&quot;)<br>
<br>SET(CTEST_CMAKE_GENERATOR &quot;Unix Makefiles&quot;)<br><br>CTEST_START(&quot;MemoryCheck&quot;)<br>CTEST_CONFIGURE(BUILD &quot;${CTEST_BINARY_DIRECTORY}&quot;)<br>CTEST_BUILD(BUILD &quot;${CTEST_BINARY_DIRECTORY}&quot;)<br>
CTEST_TEST(BUILD &quot;${CTEST_BINARY_DIRECTORY}&quot;)<br>CTEST_MEMCHECK()<br><br>-------------------------------------------------------------------<br><br>Any help would be greatly appreciated, <br><br>Iman<br><br><br>
<br>