diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2013-11-12 21:22:24 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2013-11-12 21:22:24 +0000 |
| commit | 780a3211d2b7a098455a6d8ec00067e6958119ba (patch) | |
| tree | 1a8922d6e23fa3141dc8555de17a7cc8bc59c6ee /qpid/cpp/src/tests/python_tests | |
| parent | 0630ea05003e6c530b9dde889e8296b12e67e41b (diff) | |
| download | qpid-python-780a3211d2b7a098455a6d8ec00067e6958119ba.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@1541241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/python_tests')
| -rwxr-xr-x | qpid/cpp/src/tests/python_tests | 4 |
1 files changed, 2 insertions, 2 deletions
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} |
