diff --git a/MANIFEST b/MANIFEST index 5c441feb4..7f531c337 100644 --- a/MANIFEST +++ b/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 diff --git a/plugins/python/Makefile.in b/plugins/python/Makefile.in index f9f7e836b..640c96dd0 100644 --- a/plugins/python/Makefile.in +++ b/plugins/python/Makefile.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) diff --git a/plugins/python/lsan_suppr.txt b/plugins/python/lsan_suppr.txt new file mode 100644 index 000000000..094ffd5ce --- /dev/null +++ b/plugins/python/lsan_suppr.txt @@ -0,0 +1 @@ +leak:libpython