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 | 18fb7a463d540c066426d19d9e4c81a1c292253e (patch) | |
| tree | 32cdbf2cf906c71a0612e1472a1a2b628b935adf /qpid/cpp/src | |
| parent | 8ae98ae258f94067bd91595ecbcccdf32165657f (diff) | |
| download | qpid-python-18fb7a463d540c066426d19d9e4c81a1c292253e.tar.gz | |
QPID-3346: fix tests to detect if tools are present.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1187397 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rwxr-xr-x | qpid/cpp/src/tests/run_msg_group_tests | 1 | ||||
| -rwxr-xr-x | qpid/cpp/src/tests/run_msg_group_tests_soak | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/run_msg_group_tests b/qpid/cpp/src/tests/run_msg_group_tests index 8423022521..e2fec2d170 100755 --- a/qpid/cpp/src/tests/run_msg_group_tests +++ b/qpid/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/qpid/cpp/src/tests/run_msg_group_tests_soak b/qpid/cpp/src/tests/run_msg_group_tests_soak index 5231f74755..d9d4cc227f 100755 --- a/qpid/cpp/src/tests/run_msg_group_tests_soak +++ b/qpid/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 |
