summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MANIFEST.in2
-rwxr-xr-xsetup.py2
-rw-r--r--tests/valgrind.supp39
3 files changed, 42 insertions, 1 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index 4cee2980..b0770549 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -8,6 +8,6 @@ include README.rst
include .gitlab-ci.yml
recursive-include examples *.py *.png *.css *.ui *.gif *.gresource *.jpg *.xml
recursive-include gi *.h
-recursive-include tests *.py *.c *.h *.xml
+recursive-include tests *.py *.c *.h *.xml *.supp
recursive-include docs *.rst *.svg LICENSE *.ico *.png *.css *.py *.dia Makefile
recursive-include .gitlab-ci *.sh *.rst *.py Dockerfile*
diff --git a/setup.py b/setup.py
index 7da106ba..0326569f 100755
--- a/setup.py
+++ b/setup.py
@@ -651,6 +651,8 @@ def get_suppression_files():
files = []
for prefix in prefixes:
files.extend(get_suppression_files_for_prefix(prefix))
+
+ files.append(os.path.join(get_script_dir(), "tests", "valgrind.supp"))
return sorted(set(files))
diff --git a/tests/valgrind.supp b/tests/valgrind.supp
new file mode 100644
index 00000000..cf067b26
--- /dev/null
+++ b/tests/valgrind.supp
@@ -0,0 +1,39 @@
+# https://bugzilla.redhat.com/show_bug.cgi?id=1538073
+
+{
+ <py36-start1>
+ Memcheck:Cond
+ fun:__wcsnlen_sse4_1
+ fun:wcsrtombs
+ fun:wcstombs
+ fun:wcstombs
+ fun:encode_current_locale
+ fun:encode_locale
+ fun:Py_EncodeLocale
+ fun:_Py_wreadlink
+ fun:calculate_path
+ fun:Py_GetProgramFullPath
+ fun:_PySys_Init
+ fun:_Py_InitializeEx_Private.part.8
+ fun:Py_Main
+ fun:main
+}
+
+{
+ <py36-start2>
+ Memcheck:Cond
+ fun:__wcsnlen_sse4_1
+ fun:wcsrtombs
+ fun:wcstombs
+ fun:wcstombs
+ fun:encode_current_locale
+ fun:encode_locale
+ fun:Py_EncodeLocale
+ fun:_Py_wreadlink
+ fun:calculate_path
+ fun:Py_GetProgramFullPath
+ fun:_PySys_Init
+ fun:_Py_InitializeEx_Private.part.8
+ fun:Py_Main
+ fun:main
+}