[CMake] How to suppress valgrind errors reported by NightlyMemCheck ?
Xavier Besseron
xavier.besseron at uni.lu
Sun Mar 20 13:50:57 EDT 2016
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.supp"
Best regards,
Xavier
On Sun, Mar 20, 2016 at 6:14 PM, Aaron Boxer <boxerab at gmail.com> wrote:
> 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
>
--
Dr Xavier BESSERON
Research associate
FSTC, University of Luxembourg
Campus Kirchberg, Office E-007
Phone: +352 46 66 44 5418
http://luxdem.uni.lu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160320/3c3d5fd8/attachment.html>
More information about the CMake
mailing list