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 <boxe...@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/
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake