Re: Make make check abort on memory leaks or errors

2014-07-10 Thread Bob Friesenhahn
For GraphicsMagick I added a 'memcheck' target which performs 'make check' under valgrind. This requires that subordinate test scripts will prefix test executable invokations with $MEMCHECK and that any necessary valgrind suppressions exist in order to allow the tests to succeed when there

Make make check abort on memory leaks or errors

2014-07-10 Thread Steffen Dettmer
Hi, I have s small C++ test project using autoconf, automake and CppUnit. I like to check for memory errors, starting with memory leaks. I started with ./configure CXXFLAGS=-fsanitize=address, which detects some memory errors (e.g. use-after-delete), but no memory leaks. After searching the web

Re: Make make check abort on memory leaks or errors

2014-07-08 Thread Simon Newton
On Tue, Jul 8, 2014 at 8:04 AM, Steffen Dettmer steffen.dett...@gmail.com wrote: Hi, I have s small C++ test project using autoconf, automake and CppUnit. I like to check for memory errors, starting with memory leaks. I started with ./configure CXXFLAGS=-fsanitize=address, which detects some