summaryrefslogtreecommitdiffstats
path: root/tests/test-wrapper.sh
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2012-10-01 16:14:12 +0200
committerMark Wielaard <[email protected]>2012-10-01 17:33:14 +0200
commite3e3ee261e0d2f8716b5011ca5fcfc88766146f5 (patch)
tree4b096a1a1dea2deafbd2656303569f99a50381fb /tests/test-wrapper.sh
parentea45ac8e1d937b727122a0a286ad9b37f02fe0a2 (diff)
Add configure --enable-valgrind option to run all tests under valgrind.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/test-wrapper.sh')
-rwxr-xr-xtests/test-wrapper.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-wrapper.sh b/tests/test-wrapper.sh
index 96ddb742..09b4d49f 100755
--- a/tests/test-wrapper.sh
+++ b/tests/test-wrapper.sh
@@ -58,4 +58,8 @@ case "$1" in
;;
esac
+if [ "x$VALGRIND_CMD" != "x" ]; then
+ export VALGRIND_CMD
+fi
+
exec "$@"