summaryrefslogtreecommitdiffstats
path: root/tests/test-wrapper.sh
diff options
context:
space:
mode:
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 "$@"