summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-04-17 15:35:44 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-04-17 15:40:58 +0200
commitc48f60a5d9576736d86d1ef381c3e18ce7bab9ea (patch)
tree9bb39d15146c7349da57a11fd8fb4a632fb4854c /tests
parentca20535e993b888f22795a471988ebeb50c492d0 (diff)
downloadpygobject-c48f60a5d9576736d86d1ef381c3e18ce7bab9ea.tar.gz
tests: add our own valgrind suppression file
Contains the two condition errors which happen with Python 3.6.5 at interpreter startup.
Diffstat (limited to 'tests')
-rw-r--r--tests/valgrind.supp39
1 files changed, 39 insertions, 0 deletions
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
+}