summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorKen Giusti <kgiusti@apache.org>2011-10-21 15:19:11 +0000
committerKen Giusti <kgiusti@apache.org>2011-10-21 15:19:11 +0000
commita8cc51558fa1430eb424b57dffbbad17f474bffe (patch)
treea66d64723af2b0d6199f09ebc601207a7466017a /cpp
parent8f510d1f82e29fba6b806fefae9cb7bef1ea705f (diff)
downloadqpid-python-a8cc51558fa1430eb424b57dffbbad17f474bffe.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')
-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