From a524987ca6264e7944d4c806cdeb9cc7c7590dcb Mon Sep 17 00:00:00 2001 From: Kenneth Anthony Giusti Date: Fri, 21 Oct 2011 15:19:11 +0000 Subject: 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 --- cpp/src/tests/run_msg_group_tests | 1 + cpp/src/tests/run_msg_group_tests_soak | 1 + 2 files changed, 2 insertions(+) (limited to 'cpp') 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 -- cgit v1.2.1