From 780a3211d2b7a098455a6d8ec00067e6958119ba Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Tue, 12 Nov 2013 21:22:24 +0000 Subject: QPID-5330: Simplify testing for presence of python testing code - this makes it much easier not to call the python testing code when it isn't available git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541241 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/python_tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests/python_tests') diff --git a/qpid/cpp/src/tests/python_tests b/qpid/cpp/src/tests/python_tests index 0216b5ca7b..3cdf7725f4 100755 --- a/qpid/cpp/src/tests/python_tests +++ b/qpid/cpp/src/tests/python_tests @@ -20,8 +20,8 @@ # # Run the python tests. -source ./test_env.sh -test -d $PYTHON_DIR || { echo "Skipping python tests, no python dir."; exit 0; } +source $QPID_TEST_COMMON +ensure_python_tests QPID_PORT=${QPID_PORT:-5672} PYTHON_TESTS=${PYTHON_TESTS:-$*} FAILING=${FAILING:-/dev/null} -- cgit v1.2.1