diff options
| author | Alan Conway <aconway@apache.org> | 2007-03-28 19:57:28 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-03-28 19:57:28 +0000 |
| commit | 2f758d6131675cd025dfe7c08d55758b7536d638 (patch) | |
| tree | 6a1fe6bed1e717851321445cebbc07a0e12a0fd4 /qpid/cpp/tests/setup | |
| parent | 4da72e5cbed1a4b6a542a829a202f114f74879b9 (diff) | |
| download | qpid-python-2f758d6131675cd025dfe7c08d55758b7536d638.tar.gz | |
* cpp/tests/setup,run-unit-tests:
- make run-unit-tests work directly as ./run-unit-tests as well as via make.
- run-unit-tests takes list of tests to run as args or in env UNIT_TESTS.
* cpp/tests/.vg-supp:
- Fixed bogus symbols produced by --gen-suppressions.
See http://article.gmane.org/gmane.comp.debugging.valgrind/5939
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@523444 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/tests/setup')
| -rw-r--r-- | qpid/cpp/tests/setup | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qpid/cpp/tests/setup b/qpid/cpp/tests/setup index a50aa8a5cc..febf613847 100644 --- a/qpid/cpp/tests/setup +++ b/qpid/cpp/tests/setup @@ -3,6 +3,8 @@ test "$VERBOSE" = yes && set -x pwd=`pwd` +test -z "$abs_srcdir" && abs_srcdir=$pwd + t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ pid=0 test -z "$TEST_DEBUG" && @@ -31,9 +33,12 @@ vg_options=" if test x$VALGRIND = x; then vg= else - vg="libtool --mode=execute valgrind `echo $vg_options` --" + vg="libtool --mode=execute $VALGRIND `echo $vg_options` --" + # Suppress dlclose or valgrind traces wont have test library symbols. + vg="env LD_PRELOAD=$pwd/.libs/libdlclose_noop.so $vg" fi + vg_leak_check() { local file=$1 |
