summaryrefslogtreecommitdiff
path: root/cpp/tests/run-python-tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-04-30 19:52:28 +0000
committerAlan Conway <aconway@apache.org>2007-04-30 19:52:28 +0000
commit6dfec93461aaf1ddf7dbd681bc67e6edcb8d81d3 (patch)
treed6beaf1290b2d16d9c18d0c05dff7916063b15fb /cpp/tests/run-python-tests
parentb16914a34d89e4b99eceb0a3f5b277d454c4e39f (diff)
downloadqpid-python-6dfec93461aaf1ddf7dbd681bc67e6edcb8d81d3.tar.gz
Added -M2 tag to RPM release.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533840 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/run-python-tests')
-rwxr-xr-xcpp/tests/run-python-tests7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/tests/run-python-tests b/cpp/tests/run-python-tests
index d9b78e1055..c19b2f0193 100755
--- a/cpp/tests/run-python-tests
+++ b/cpp/tests/run-python-tests
@@ -1,5 +1,10 @@
#!/bin/bash
+test -x $abs_srcdir/../../python/run-tests || {
+ echo WARNING: Python tests not available, skipping.
+ exit 0;
+}
+
if test "$VERBOSE" = yes; then
set -x
qpidd --version
@@ -18,7 +23,7 @@ sleep 4
# Run the tests.
( cd $abs_srcdir/../../python \
- && python ./run-tests -v -I cpp_failing.txt || fail=1 )
+ && python ./run-tests -v -I cpp_failing.txt ) || fail=1
kill $pid || { echo FAIL: process already died; cat log; fail=1; }