Re: [CMake] How to suppress valgrind errors reported by NightlyMemCheck ?

2016-03-20 Thread Aaron Boxer
Hi Xavier, On Sun, Mar 20, 2016 at 1:50 PM, Xavier Besseron wrote: > Hi Aaron, > > I don't know if that's what you're looking for, > but you can try to set Valgrind options using an environment variable or > a cmake variable > > set(VALGRIND_OPTS "--suppressions=/path/to/your_suppression_file.s

Re: [CMake] How to suppress valgrind errors reported by NightlyMemCheck ?

2016-03-20 Thread Xavier Besseron
Hi Aaron, I don't know if that's what you're looking for, but you can try to set Valgrind options using an environment variable or a cmake variable set(VALGRIND_OPTS "--suppressions=/path/to/your_suppression_file.supp") or export VALGRIND_OPTS="--suppressions=/path/to/your_suppression_file.su

[CMake] How to suppress valgrind errors reported by NightlyMemCheck ?

2016-03-20 Thread Aaron Boxer
My program links to libstdc++. It turns out there is a well-known false positive from valgrind regarding libstdc++ memory pools. http://valgrind.org/docs/manual/faq.html#faq.reports How may I suppress this error when running ctest -D NightlyMemCheck ? Thanks, Aaron -- Powered by www.kitware.c