Commit 3337aa41 authored by Morten Welinder's avatar Morten Welinder
Browse files

gnmvalgrind: neuter Python's bogus malloc.

We don't want warnings associated with the python malloc (which doesn't
believe in the C standard and likes to read random memory).
parent c8c9bcaf
......@@ -37,6 +37,8 @@ if ($seen_leak_check) {
&add_debug_flag ('GNM_DEBUG', 'close-displays');
}
$ENV{'PYTHONMALLOC'} = 'malloc';
push @cmd, 'valgrind';
push @cmd, '--num-callers=40' unless $seen_num_callers;
push @cmd, "--suppressions=$topsrc/test/common.supp";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment