summaryrefslogtreecommitdiff
path: root/cpp/src/tests/python_tests
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-11-12 21:22:24 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-11-12 21:22:24 +0000
commit3f11310a23a82dddc6237f5c15abfc1a05af19dc (patch)
tree3cd5cbb2d0f04ab50f8c5cf468eb82043b6cc1f8 /cpp/src/tests/python_tests
parentf87a61f06c3aa3d866cd3cc2fccf003276f6949a (diff)
downloadqpid-python-3f11310a23a82dddc6237f5c15abfc1a05af19dc.tar.gz
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/qpid@1541241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/python_tests')
-rwxr-xr-xcpp/src/tests/python_tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/python_tests b/cpp/src/tests/python_tests
index 0216b5ca7b..3cdf7725f4 100755
--- a/cpp/src/tests/python_tests
+++ b/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}