summaryrefslogtreecommitdiff
path: root/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
commit4497af06e34c177b4b84a5dff74a254a3d05fb2f (patch)
tree671a38016d3732eb829236cbf71566a0da8d0a5f /cpp/src/tests/python_tests
parent3dc77aa47a720a715b78f46b1f9b649c3605c7fd (diff)
downloadqpid-python-4497af06e34c177b4b84a5dff74a254a3d05fb2f.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/qpid@885759 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/python_tests')
-rwxr-xr-xcpp/src/tests/python_tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/python_tests b/cpp/src/tests/python_tests
index b82123b5bd..51c808a6c9 100755
--- a/cpp/src/tests/python_tests
+++ b/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}