diff options
author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-10-21 15:19:11 +0000 |
---|---|---|
committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-10-21 15:19:11 +0000 |
commit | a524987ca6264e7944d4c806cdeb9cc7c7590dcb (patch) | |
tree | a66d64723af2b0d6199f09ebc601207a7466017a /cpp/src | |
parent | f505cdd862dbd80c2f44331c30f60fbb8432a226 (diff) | |
download | qpid-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-x | cpp/src/tests/run_msg_group_tests | 1 | ||||
-rwxr-xr-x | cpp/src/tests/run_msg_group_tests_soak | 1 |
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 |