diff options
| author | Alan Conway <aconway@apache.org> | 2008-04-07 23:22:36 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-04-07 23:22:36 +0000 |
| commit | 6423029adfe2e5992029d1e5f4447331e7ef34d8 (patch) | |
| tree | 48c5e355954b3492b84f56c5c239fd8aa3ab5521 /qpid/cpp/src/tests/python_tests | |
| parent | 3acc5c719c147ee0122855ef767432cb8c2c6700 (diff) | |
| download | qpid-python-6423029adfe2e5992029d1e5f4447331e7ef34d8.tar.gz | |
src/qpid/amqp_0_10/Body.h, Header.h: placeholders.
src/qpid/amqp_0_10/Unit.h,.cpp
- Decode "units" - command/control/header segments or body frames.
Equivalent to preview AMQFrame class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@645733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/python_tests')
| -rwxr-xr-x | qpid/cpp/src/tests/python_tests | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/python_tests b/qpid/cpp/src/tests/python_tests index 7e6ab8a312..a3478eac1c 100755 --- a/qpid/cpp/src/tests/python_tests +++ b/qpid/cpp/src/tests/python_tests @@ -2,10 +2,17 @@ # Run the python tests. QPID_PORT=${QPID_PORT:-5672} PYTHON_TESTS=${PYTHON_TESTS:-$*} + +run() { + SPEC=$1 + FAILING=$2 + ./run-tests --skip-self-test -v -s $SPEC -I $FAILING -b localhost:$QPID_PORT $PYTHON_TESTS || exit 1 +} + if test -d ../../../python ; then 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 + run 0-10 cpp_failing_0-10.txt + test -z "$QPID_NO_PREVIEW" && run ../specs/amqp.0-10-preview.xml cpp_failing_0-10_preview.txt else echo Warning: python tests not found. fi |
