summaryrefslogtreecommitdiff
path: root/cpp/tests/run-unit-tests
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tests/run-unit-tests')
-rwxr-xr-xcpp/tests/run-unit-tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/tests/run-unit-tests b/cpp/tests/run-unit-tests
index 0ab01f05c5..b0ef82e558 100755
--- a/cpp/tests/run-unit-tests
+++ b/cpp/tests/run-unit-tests
@@ -3,7 +3,7 @@
. $srcdir/setup
fail=0
-$vg DllPlugInTester -c -b $pwd/.libs/*.so 2> out || fail=1
-vg_check out || fail=1
+LD_PRELOAD=$pwd/.libs/libdlclose_noop.so $vg DllPlugInTester -c -b $pwd/.libs/*Test.so 2> valgrind.out || fail=1
+vg_check valgrind.out || fail=1
exit $fail