[CMake] CMake and memory leak testing?

Matthew Woehlke mw_triad at users.sourceforge.net
Thu Mar 15 15:04:23 EST 2007


...on a similar note to the recent post regarding "CMake and 
profiling...", is there any support (current or planned) for leak 
testing of test suites? What I would like to do is have a bunch of tests 
that are run (possibly twice; once normally, and once) under valgrind or 
another leak checker. Such a test fails if there is any non-freed memory 
in use when the application exits. This would help to catch memory 
management bugs.

-- 
Matthew
Caution: keep out of reach of adults.



More information about the CMake mailing list