Add tooling for running under Valgrind.
[supertux.git] / tools / valgrind / run
1 #!/bin/bash
2 # Script to launch supertux under valgrind for memory error/leak checking.
3 # This is meant to be called as "tools/valgrind/run" from the top of the tree.
4
5 valgrind --log-file=valgrind.log --suppressions=tools/valgrind/supertux.supp \
6         --gen-suppressions=all --leak-check=full --num-callers=20 \
7         ./supertux2 "$@"