summaryrefslogtreecommitdiff
path: root/cpp/tests/run-unit-tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-27 19:57:00 +0000
committerAlan Conway <aconway@apache.org>2007-03-27 19:57:00 +0000
commitcfd416de448c3712d450d1994daf7fa3ae9fa6f4 (patch)
tree646a02ed26537512649f286d41db830a467d8de3 /cpp/tests/run-unit-tests
parent847ee577e23fbdd2175709a08a7160e8b2c1f464 (diff)
downloadqpid-python-cfd416de448c3712d450d1994daf7fa3ae9fa6f4.tar.gz
Fix valgrind on unit tests: missing symbols for dynamically unloaded libs.
Interposed library supresses dlclose so symbols are reported. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523055 13f79535-47bb-0310-9956-ffa450edef68
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