summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/python_tests
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/python_tests')
-rwxr-xr-xqpid/cpp/src/tests/python_tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/python_tests b/qpid/cpp/src/tests/python_tests
index a3478eac1c..f35cb16480 100755
--- a/qpid/cpp/src/tests/python_tests
+++ b/qpid/cpp/src/tests/python_tests
@@ -3,10 +3,11 @@
QPID_PORT=${QPID_PORT:-5672}
PYTHON_TESTS=${PYTHON_TESTS:-$*}
+
run() {
SPEC=$1
FAILING=$2
- ./run-tests --skip-self-test -v -s $SPEC -I $FAILING -b localhost:$QPID_PORT $PYTHON_TESTS || exit 1
+ ./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 ../../../python ; then