summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/python_tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-04-04 19:35:14 +0000
committerAlan Conway <aconway@apache.org>2008-04-04 19:35:14 +0000
commit54ab4ac793445db463dfe332900167b139a65ecd (patch)
tree29072264180cc0416a2439931cade130da81161f /qpid/cpp/src/tests/python_tests
parent8b4af258451be0ebe40bb0fa10523818ecdbe576 (diff)
downloadqpid-python-54ab4ac793445db463dfe332900167b139a65ecd.tar.gz
Minor cleanup of base Exception and python_tests script.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@644845 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/python_tests')
-rwxr-xr-xqpid/cpp/src/tests/python_tests6
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/python_tests b/qpid/cpp/src/tests/python_tests
index 9a1bfff6a9..7e6ab8a312 100755
--- a/qpid/cpp/src/tests/python_tests
+++ b/qpid/cpp/src/tests/python_tests
@@ -1,7 +1,11 @@
#!/bin/sh
# Run the python tests.
+QPID_PORT=${QPID_PORT:-5672}
+PYTHON_TESTS=${PYTHON_TESTS:-$*}
if test -d ../../../python ; then
- cd ../../../python && ./run-tests --skip-self-test -v -s ../specs/amqp.0-10-preview.xml -I cpp_failing_0-10_preview.txt -b localhost:$QPID_PORT $PYTHON_TESTS && ./run-tests --skip-self-test -v -s "0-10" -I cpp_failing_0-10.txt -b localhost:$QPID_PORT $PYTHON_TESTS
+ cd ../../../python
+ test -z "$QPID_NO_PREVIEW" && ./run-tests --skip-self-test -v -s ../specs/amqp.0-10-preview.xml -I cpp_failing_0-10_preview.txt -b localhost:$QPID_PORT $PYTHON_TESTS
+ ./run-tests --skip-self-test -v -s "0-10" -I cpp_failing_0-10.txt -b localhost:$QPID_PORT $PYTHON_TESTS
else
echo Warning: python tests not found.
fi