summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_test
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/run_test')
-rwxr-xr-xcpp/src/tests/run_test1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/run_test b/cpp/src/tests/run_test
index d717cd2ace..615e8132f1 100755
--- a/cpp/src/tests/run_test
+++ b/cpp/src/tests/run_test
@@ -36,6 +36,7 @@ if grep -l "^# Generated by .*libtool" "$1" >/dev/null 2>&1; then
test -n "$VALGRIND" && vg_check
else
# This is a non-libtool shell script, just execute it.
+ export VALGRIND srcdir
exec "$@"
fi