diff options
| author | Alan Conway <aconway@apache.org> | 2009-12-01 13:28:29 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-12-01 13:28:29 +0000 |
| commit | ec150948e1dbf6279c68cbcdc3289c20e8024a43 (patch) | |
| tree | b7dacbf26ca6c1b424f2177110ccec1fe224598b /qpid/cpp/src/tests/python_tests | |
| parent | beffd788a95c09728bd47a5e2f39844d3f9b3e8b (diff) | |
| download | qpid-python-ec150948e1dbf6279c68cbcdc3289c20e8024a43.tar.gz | |
Fix problem with make distcheck - python tests not being skipped when python absent.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@885759 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/python_tests')
| -rwxr-xr-x | qpid/cpp/src/tests/python_tests | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/python_tests b/qpid/cpp/src/tests/python_tests index b82123b5bd..51c808a6c9 100755 --- a/qpid/cpp/src/tests/python_tests +++ b/qpid/cpp/src/tests/python_tests @@ -21,6 +21,7 @@ # Run the python tests. source ./test_env.sh +test -d $PYTHON_DIR || { echo "Skipping python tests, no python dir."; exit 0; } QPID_PORT=${QPID_PORT:-5672} PYTHON_TESTS=${PYTHON_TESTS:-$*} FAILING=${FAILING:-/dev/null} |
