From 4497af06e34c177b4b84a5dff74a254a3d05fb2f 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/qpid@885759 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/python_tests | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/tests/python_tests') 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} -- cgit v1.2.1