diff options
| author | Alan Conway <aconway@apache.org> | 2007-03-27 19:57:00 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-03-27 19:57:00 +0000 |
| commit | 713e83841b5b21ead10ce69dbb96337fee0ee368 (patch) | |
| tree | 12138fbf81d7716a60b2acd8b6ca59e95b586332 /qpid/cpp/tests/run-unit-tests | |
| parent | 1d40f897b6850d6c91b807235c4105b815291a49 (diff) | |
| download | qpid-python-713e83841b5b21ead10ce69dbb96337fee0ee368.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@523055 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/tests/run-unit-tests')
| -rwxr-xr-x | qpid/cpp/tests/run-unit-tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/tests/run-unit-tests b/qpid/cpp/tests/run-unit-tests index 0ab01f05c5..b0ef82e558 100755 --- a/qpid/cpp/tests/run-unit-tests +++ b/qpid/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 |
