diff options
Diffstat (limited to 'qpid/cpp/src/tests/python_tests')
-rwxr-xr-x | qpid/cpp/src/tests/python_tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/python_tests b/qpid/cpp/src/tests/python_tests index babe93c163..a36839a43c 100755 --- a/qpid/cpp/src/tests/python_tests +++ b/qpid/cpp/src/tests/python_tests @@ -26,4 +26,9 @@ QPID_PORT=${QPID_PORT:-5672} PYTHON_TESTS=${PYTHON_TESTS:-$*} FAILING=${FAILING:-/dev/null} +if [ ! -d $QPID_TESTS ]; then + echo "SKIPPED python tests: test code not found" + exit 0 +fi + python $QPID_PYTHON_TEST -m qpid_tests.broker_0_10 -m qpid.tests -b localhost:$QPID_PORT -I $FAILING $PYTHON_TESTS || exit 1 |