This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] tests: Use valgrind --leak-check=full.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 02 Jan 2016 21:16:22 +0100
- Subject: Re: [PATCH] tests: Use valgrind --leak-check=full.
On Wed, Dec 02, 2015 at 05:33:38PM +0100, Mark Wielaard wrote:
> When --enable-valgrind is given run the testsuite with --leak-check=full
> treating any memory leak as a failure. Also disable valgrind for those
> tests that trigger a valgrind bug.
> https://bugs.kde.org/show_bug.cgi?id=327427
Pushed to master.
Using configure --enable-valgrind makes make check slow, but has been
very helpful catching memory corruption and leaks. Please do use it when
hacking on elfutils.
Cheers,
Mark