summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/swig_python_tests
diff options
context:
space:
mode:
authorJustin Ross <jross@apache.org>2014-04-21 14:13:29 +0000
committerJustin Ross <jross@apache.org>2014-04-21 14:13:29 +0000
commit947d29b0e67b23f60f3c6a3888a468a5e24afdd4 (patch)
treed0819ecfaa0941a34ad3f9cdaf2042d167400fa8 /qpid/cpp/src/tests/swig_python_tests
parent130ff22d820d9c20a1bc7545031954ae59dad0ef (diff)
downloadqpid-python-947d29b0e67b23f60f3c6a3888a468a5e24afdd4.tar.gz
QPID-5714: Skip python tests if test code is missing
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588883 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/swig_python_tests')
-rwxr-xr-xqpid/cpp/src/tests/swig_python_tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/swig_python_tests b/qpid/cpp/src/tests/swig_python_tests
index 6de10f5ae9..4d9e5e35d4 100755
--- a/qpid/cpp/src/tests/swig_python_tests
+++ b/qpid/cpp/src/tests/swig_python_tests
@@ -47,6 +47,7 @@ stop_broker() {
}
test -f $PYTHONSWIGMODULE || skip "no swigged python client"
+test -d $QPID_TESTS || skip "test code not found"
start_broker
echo "Running swigged python tests using broker on port $QPID_PORT"