3 # collectd -- testwrapper.sh
5 # A wrapper script for running tests. If valgrind is available, memory
6 # checking will be enabled for all tests.
12 if test -n "$VALGRIND"; then
13 MEMCHECK="$VALGRIND --quiet --tool=memcheck --error-exitcode=1"
14 MEMCHECK="$MEMCHECK --trace-children=yes"
15 MEMCHECK="$MEMCHECK --leak-check=full"
16 MEMCHECK="$MEMCHECK --gen-suppressions=all"
21 # vim: set tw=78 sw=4 ts=4 noexpandtab :