[CMake] multi-stage tests with valgrind

Bill Hoffman bill.hoffman at kitware.com
Tue Apr 24 12:37:09 EDT 2012


On 4/24/2012 12:07 PM, Leif Walsh wrote:
> Also, it would be nice if there was a way to specify that only some of
> the commands should be run with valgrind, but that may be asking too
> much.
>

What I usually do is use the --trace-children option.  I have even 
patched (accepted upstream now), valgrind to stop tracing when it runs 
certain programs.  This is how cmake is tested through gmake.

-Bill


More information about the CMake mailing list