Bartlett, Roscoe A wrote:
Hello,
I am trying to get memory checking to work in an extended Ctest script that calls ctest_memcheck(...). However, when I do I get the error message: SetCTestConfiguration:BuildDirectory:/home/rabartl/PROJECTS/dashboards/Trilinos.base/SERIAL_DEBUG/BUILD
SetCTestConfiguration:SourceDirectory:/home/rabartl/PROJECTS/dashboards/Trilinos.base/SERIAL_DEBUG/Trilinos
Memory check project /home/rabartl/PROJECTS/dashboards/Trilinos.base/SERIAL_DEBUG/BUILD Memory checker (MemoryCheckCommand) not set, or cannot find the specified program. I have set the cache variable MEMORYCHECK_COMMAND as shown by: $ grep ^MEMORYCHECK_COMMAND:FILEPATH CMakeCache.txt
MEMORYCHECK_COMMAND:FILEPATH=/usr/bin/valgrind
I also tried setting this variable in the Ctest script itself. How can I set this command?
Here is an example of a working script that does memory checking:

http://www.cdash.org/CDash/viewNotes.php?buildid=276858

-Bill
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to