diff options
Diffstat (limited to 'cpp/src/tests/python_tests')
-rwxr-xr-x | cpp/src/tests/python_tests | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cpp/src/tests/python_tests b/cpp/src/tests/python_tests index e56b91ba5c..cae1aefb4a 100755 --- a/cpp/src/tests/python_tests +++ b/cpp/src/tests/python_tests @@ -26,7 +26,9 @@ QPID_PYTHON_DIR=${QPID_PYTHON_DIR:-`dirname $0`/../../../python} SPEC=${SPEC:-0-10-errata} FAILING=${FAILING:-cpp_failing_0-10.txt} -test -d $QPID_PYTHON_DIR || { echo "WARNING: No python tests. $QPID_PYTHON_DIR not found."; exit 1; } -cd $QPID_PYTHON_DIR -./run-tests --skip-self-test -v -s $SPEC -I $FAILING -b localhost:$QPID_PORT $PYTHON_TESTS || { echo "FAIL python tests for $SPEC"; exit 1; } - +if test -d $QPID_PYTHON_DIR; then + cd $QPID_PYTHON_DIR + ./run-tests --skip-self-test -v -s $SPEC -I $FAILING -b localhost:$QPID_PORT $PYTHON_TESTS || { echo "FAIL python tests for $SPEC"; exit 1; } +else + echo "WARNING: No python tests. $QPID_PYTHON_DIR not found." +fi |