I am running all my tests with a 'test driver' implemented as a CMake script. 
This is mainly to set the runtime environment and have some hooks to get hold 
of the error and output streams. My question is how can I  perform a memory 
check (with valgrind) in this case. Obviously by executing 'ctest -D 
MemoryCheck' does run valgrind on the cmake program itself and not on my test 
program. Does anybody has any suggestion?
 
-------------------------------------------------------------
Pere Mato  CERN, PH Department, CH 1211 Geneva 23, Switzerland
          e-mail: pere.m...@cern.ch      tel: +41 22 76 78696
          fax:  +41 22 76 68792            gsm: +41 76 48 70855


--

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