tests: Add setup mode to run tests using valgrind

In such case we need to ignore the python errors, so including a suppression
file when using --setup=valgrind.
This commit is contained in:
Marco Trevisan (Treviño)
2019-11-26 18:50:18 +01:00
parent 53713c0098
commit c9216cf96c
2 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
{
ignore_py_cond
Memcheck:Cond
...
fun:Py*
}
{
ignore__py_cond
Memcheck:Cond
...
fun:_Py*
}
{
ignore_py_value8
Memcheck:Value8
...
fun:Py*
}
{
ignore__py_value8
Memcheck:Value8
...
fun:_Py*
}
{
ignore_py_addr4
Memcheck:Addr4
...
fun:Py*
}
{
ignore__py_addr4
Memcheck:Addr4
...
fun:_Py*
}
{
ignore_py_leaks
Memcheck:Leak
...
fun:Py*
}
{
ignore__py_leaks
Memcheck:Leak
...
fun:_Py*
}