diff options
author | Alan Conway <aconway@apache.org> | 2007-08-24 21:04:14 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-08-24 21:04:14 +0000 |
commit | 69237a07946e9cf442a9bd86e97956cc7f17a33e (patch) | |
tree | 2bcfe5baeb7eb1091e608611f08197e4dc343005 /cpp/src/tests | |
parent | fa15956ebff52da55526b7a9f0cce0f7b904fcbf (diff) | |
download | qpid-python-69237a07946e9cf442a9bd86e97956cc7f17a33e.tar.gz |
* src/qpid/broker/Daemon.cpp: Additional logging.
* configure.ac: Fixed problem with openais check.
* src/tests/test_env: Remove LD_PRELOAD dlclose_noop, only for CppUnit.
* src/tests/run-unit-tests: Added LD_PRELOAD dlclose_noop.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@569520 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-x | cpp/src/tests/run-unit-tests | 4 | ||||
-rwxr-xr-x | cpp/src/tests/test_env | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/tests/run-unit-tests b/cpp/src/tests/run-unit-tests index a3113b14ee..ce8f488b29 100755 --- a/cpp/src/tests/run-unit-tests +++ b/cpp/src/tests/run-unit-tests @@ -22,5 +22,7 @@ done test -z "$TEST_ARGS" && TEST_ARGS=".libs/*Test.so" test -z "$srcdir" && srcdir=. -exec $srcdir/test_env DllPlugInTester -c -b $TEST_ARGS + +# libdlclose_noop prevents unloading symbols needed for valgrind output. +LD_PRELOAD=.libs/libdlclose_noop.so exec $srcdir/test_env DllPlugInTester -c -b $TEST_ARGS diff --git a/cpp/src/tests/test_env b/cpp/src/tests/test_env index c73cac43ea..3fdfaa8a88 100755 --- a/cpp/src/tests/test_env +++ b/cpp/src/tests/test_env @@ -34,10 +34,8 @@ vg_check() true } -# libdlclose_noop prevents unloading symbols needed for valgrind output. -preload=.libs/libdlclose_noop.so # Output to file, only display if there is an error. opts=--log-file-exactly=$vg_log -LD_PRELOAD=$preload libtool --mode=execute $VALGRIND $opts -- "$@" || fail=1 +libtool --mode=execute $VALGRIND $opts -- "$@" || fail=1 vg_check && test -z "$fail" |