Skip to content
Snippets Groups Projects
Commit f5554906 authored by Richard Schwarting's avatar Richard Schwarting
Browse files

test/valgrind/Makefile: to use 'make run', get user to pass name of program to test as a macro

parent 19ac631c
No related branches found
No related tags found
No related merge requests found
......@@ -32,8 +32,9 @@ runnew:
supp: *.supp
cat *.supp > ../../gxml.supp
# use this like 'make run SUBJECT=./attributes'
run: all
G_SLICE=always-malloc valgrind --leak-check=full --show-reachable=yes --suppressions=libxml2.supp --suppressions=gio.supp --suppressions=gtype.supp --suppressions=glib.supp --num-callers=40 ./document_create_minimal
G_SLICE=always-malloc valgrind --leak-check=full --show-reachable=yes --suppressions=libxml2.supp --suppressions=gio.supp --suppressions=gtype.supp --suppressions=glib.supp --num-callers=40 ${SUBJECT}
run_nosupp:
G_SLICE=always-malloc valgrind --leak-check=full --show-reachable=yes --num-callers=40 ./document
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment