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:
1
MANIFEST
1
MANIFEST
@@ -394,6 +394,7 @@ plugins/python/example_debugging.py
|
||||
plugins/python/example_group_plugin.py
|
||||
plugins/python/example_io_plugin.py
|
||||
plugins/python/example_policy_plugin.py
|
||||
plugins/python/lsan_suppr.txt
|
||||
plugins/python/pyhelpers.c
|
||||
plugins/python/pyhelpers.h
|
||||
plugins/python/pyhelpers_cpychecker.h
|
||||
|
@@ -234,6 +234,7 @@ check: $(TEST_PROGS) check-fuzzer
|
||||
unset LANG || LANG=; \
|
||||
MALLOC_OPTIONS=S; export MALLOC_OPTIONS; \
|
||||
MALLOC_CONF="abort:true,junk:true"; export MALLOC_CONF; \
|
||||
LSAN_OPTIONS=suppressions=$(srcdir)/lsan_suppr.txt \
|
||||
./check_python_examples ".libs/python_plugin.so"; \
|
||||
fi
|
||||
|
||||
|
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