summaryrefslogtreecommitdiff
path: root/cpp/src/tests/python_tests
diff options
context:
space:
mode:
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}