Hello,

I would like to be able to use Guard Malloc while running my dashboard
tests.  (Guard Malloc is a Mac OS X feature that is similar to Purify
and Valgrind, that is, it tests for memory-related bugs).

To use Guard Malloc, one only needs to set an environment variable.

I've tried adding said variable to CTEST_ENVIRONMENT but that seems to
set the variable even when invoking the compiler.  The problem is that
Guard Malloc makes things 100x times slower, so I want to set it only
for the tests, not the compilation.

I've read about PURIFYCOMMAND and MEMORYCHECK_COMMAND, but I don't see
how they can help.

Any suggestions?

Thanks!

--
____________________________________________________________
Sean McBride, B. Eng                 [EMAIL PROTECTED]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to