Add a suppression file for the libpython leaks.

This is a big hammer but it seems like the best we can do for now.
Allows "make check" to succeed when address sanitizer is used.
This commit is contained in:
Todd C. Miller
2021-04-26 08:58:00 -06:00
parent 6907376ae9
commit 8a65893435
3 changed files with 4 additions and 1 deletions

View File

@@ -234,7 +234,8 @@ check: $(TEST_PROGS) check-fuzzer
unset LANG || LANG=; \
MALLOC_OPTIONS=S; export MALLOC_OPTIONS; \
MALLOC_CONF="abort:true,junk:true"; export MALLOC_CONF; \
./check_python_examples ".libs/python_plugin.so"; \
LSAN_OPTIONS=suppressions=$(srcdir)/lsan_suppr.txt \
./check_python_examples ".libs/python_plugin.so"; \
fi
update_test_data: $(TEST_PROGS)

View File

@@ -0,0 +1 @@
leak:libpython