From ec150948e1dbf6279c68cbcdc3289c20e8024a43 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 1 Dec 2009 13:28:29 +0000 Subject: 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 --- qpid/cpp/src/tests/python_tests | 1 + 1 file changed, 1 insertion(+) (limited to 'qpid/cpp/src/tests/python_tests') 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} -- cgit v1.2.1