Add valgrind suppression file to testcases
The suppression file makes valgrind output more readable by hiding reports of memory leaks for GObject-related initialization functions in Pango and Cairo.
This commit is contained in:
committed by
Michael Stapelberg
parent
192b67df18
commit
9b03be644f
@ -110,6 +110,7 @@ sub activate_i3 {
|
||||
if ($args{valgrind}) {
|
||||
$i3cmd =
|
||||
qq|valgrind -v --log-file="$outdir/valgrind-for-$test.log" | .
|
||||
qq|--suppressions="./valgrind.supp" | .
|
||||
qq|--leak-check=full --track-origins=yes --num-callers=20 | .
|
||||
qq|--tool=memcheck -- $i3cmd|;
|
||||
}
|
||||
|
Reference in New Issue
Block a user