summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-01-21 15:44:42 +0000
committerAlan Conway <aconway@apache.org>2009-01-21 15:44:42 +0000
commit6d93918e12caf0fdc736219598076a80c91ae5fd (patch)
treec073e73e1ad9aa9923a16a9b6adf6d72f9239d55 /cpp/src/tests
parenta8b5a59f4ab5a7d080a76f5953d848c5c0d6e324 (diff)
downloadqpid-python-6d93918e12caf0fdc736219598076a80c91ae5fd.tar.gz
Additional latency measurement points.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rw-r--r--cpp/src/tests/.valgrind.supp8
-rwxr-xr-xcpp/src/tests/run_test4
2 files changed, 10 insertions, 2 deletions
diff --git a/cpp/src/tests/.valgrind.supp b/cpp/src/tests/.valgrind.supp
index 7ae2bd9845..9984c18151 100644
--- a/cpp/src/tests/.valgrind.supp
+++ b/cpp/src/tests/.valgrind.supp
@@ -1,4 +1,12 @@
{
+ Benign leak in CPG - patched version.
+ Memcheck:Leak
+ fun:*
+ fun:openais_service_connect
+ fun:cpg_initialize
+}
+
+{
Benign error in libcpg.
Memcheck:Param
socketcall.sendmsg(msg.msg_iov[i])
diff --git a/cpp/src/tests/run_test b/cpp/src/tests/run_test
index 062e9e137e..82be3b0893 100755
--- a/cpp/src/tests/run_test
+++ b/cpp/src/tests/run_test
@@ -24,7 +24,7 @@
# Output nothing if test passes, show the output if it fails and
# leave output in <test>.log for examination.
#
-# If qpidd.port exists run test with QPID_PORT=`cat qpidd.port`
+# If qpidd.port exists and is not empty run test with QPID_PORT=`cat qpidd.port`
#
# If $VALGRIND if is set run under valgrind. If there are valgrind
# erros show valgrind output, also leave it in <test>.valgrind for
@@ -38,7 +38,7 @@ srcdir=`dirname $0`
export VALGRIND srcdir
# Set QPID_PORT if qpidd.port exists.
-test -f qpidd.port && QPID_PORT=`cat qpidd.port`
+test -s qpidd.port && QPID_PORT=`cat qpidd.port`
export QPID_PORT
# Avoid silly libtool error messages if these are not defined