mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-30 05:42:05 +00:00
3dbe842159
This patch allows maintainers to run: make -C <builddir>/tests check-valgrind This runs the test suite under the Valgrind memory checker. It also adds this target: make -C <builddir>/tests check-valgrind-memcheck-recursive It runs the memcheck tool on the tests so that programs forked by them are memchecked too. This is to allow to memcheck the libabigail tools that are forked by the individual tests. * autoconf-archive/ax_valgrind_check.m4: Add new file. Copied it from http://www.gnu.org/software/autoconf-archive/ax_valgrind_check.html. * configure.ac: Include the new ax_valgrind_check.m4 file. Initialize the valgrind checking on tests. Update the configure status. * tests/test-valgrind-suppressions.supp: New valgrind suppression file to silence memcheck leak errors from python. * tests/Makefile.am: Add test-valgrind-suppressions.supp to source distribution. Add check-valgrind-memcheck-recursive target. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
43 lines
508 B
Plaintext
43 lines
508 B
Plaintext
{
|
|
suppress all libpython leaks
|
|
Memcheck:Leak
|
|
...
|
|
obj:*libpython*.so*
|
|
}
|
|
|
|
{
|
|
suppress all _rpm.so leaks (from python)
|
|
Memcheck:Leak
|
|
...
|
|
obj:*_rpm.so*
|
|
}
|
|
|
|
{
|
|
suppress all librpm.so leaks (from python)
|
|
Memcheck:Leak
|
|
...
|
|
obj:*librpm.so*
|
|
}
|
|
|
|
{
|
|
suppress all libfreeblpriv3.so leaks (from python)
|
|
Memcheck:Leak
|
|
...
|
|
obj:*libfreeblpriv3.so*
|
|
...
|
|
}
|
|
|
|
{
|
|
suppress all libsoftokn3.so leaks (from python)
|
|
Memcheck:Leak
|
|
...
|
|
obj:*libsoftokn3.so*
|
|
}
|
|
|
|
{
|
|
suppress leaks from bash
|
|
Memcheck:Leak
|
|
...
|
|
obj:*bash
|
|
}
|