summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/python_tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-12-01 13:28:29 +0000
committerAlan Conway <aconway@apache.org>2009-12-01 13:28:29 +0000
commitec150948e1dbf6279c68cbcdc3289c20e8024a43 (patch)
treeb7dacbf26ca6c1b424f2177110ccec1fe224598b /qpid/cpp/src/tests/python_tests
parentbeffd788a95c09728bd47a5e2f39844d3f9b3e8b (diff)
downloadqpid-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-xqpid/cpp/src/tests/python_tests1
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}