summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/tests/run_test5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/tests/run_test b/cpp/src/tests/run_test
index 0f59509dab..2280e96301 100755
--- a/cpp/src/tests/run_test
+++ b/cpp/src/tests/run_test
@@ -12,7 +12,10 @@
# examination.
#
-source `dirname $0`/vg_check
+srcdir=`dirname $0`
+source $srcdir/vg_check
+test -f .valgrindrc || cp $srcdir/.valgrindrc .
+test -f .valgrind.supp || cp $srcdir/.valgrind.supp .
# Export variables from makefile.