summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2011-10-21 15:19:11 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2011-10-21 15:19:11 +0000
commita524987ca6264e7944d4c806cdeb9cc7c7590dcb (patch)
treea66d64723af2b0d6199f09ebc601207a7466017a /cpp/src
parentf505cdd862dbd80c2f44331c30f60fbb8432a226 (diff)
downloadqpid-python-a524987ca6264e7944d4c806cdeb9cc7c7590dcb.tar.gz
QPID-3346: fix tests to detect if tools are present.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1187397 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/tests/run_msg_group_tests1
-rwxr-xr-xcpp/src/tests/run_msg_group_tests_soak1
2 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/tests/run_msg_group_tests b/cpp/src/tests/run_msg_group_tests
index 8423022521..e2fec2d170 100755
--- a/cpp/src/tests/run_msg_group_tests
+++ b/cpp/src/tests/run_msg_group_tests
@@ -22,6 +22,7 @@
#setup path to find qpid-config and msg_group_test progs
source ./test_env.sh
+test -d $PYTHON_DIR || { echo "Skipping message group tests, no python dir."; exit 0; }
export PATH=$PWD:$srcdir:$PYTHON_COMMANDS:$PATH
diff --git a/cpp/src/tests/run_msg_group_tests_soak b/cpp/src/tests/run_msg_group_tests_soak
index 5231f74755..d9d4cc227f 100755
--- a/cpp/src/tests/run_msg_group_tests_soak
+++ b/cpp/src/tests/run_msg_group_tests_soak
@@ -22,6 +22,7 @@
#setup path to find qpid-config and msg_group_test test progs
source ./test_env.sh
+test -d $PYTHON_DIR || { echo "Skipping message group tests, no python dir."; exit 0; }
export PATH=$PWD:$srcdir:$PYTHON_COMMANDS:$PATH