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:
@@ -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)
|
||||
|
1
plugins/python/lsan_suppr.txt
Normal file
1
plugins/python/lsan_suppr.txt
Normal file
@@ -0,0 +1 @@
|
||||
leak:libpython
|
Reference in New Issue
Block a user