summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_federation_tests
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-08-11 19:58:12 +0000
committerRafael H. Schloming <rhs@apache.org>2009-08-11 19:58:12 +0000
commit7a75ab50441b0b11082b3ee27601c6f07cad8c96 (patch)
tree33e24870a0bca38efaea4638b96a62fd8d79fca7 /cpp/src/tests/run_federation_tests
parenta2d7a54a947b03b7a424cec56f24ccdde144dce9 (diff)
downloadqpid-python-7a75ab50441b0b11082b3ee27601c6f07cad8c96.tar.gz
fixed the cpp/python test integration
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803270 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/run_federation_tests')
-rwxr-xr-xcpp/src/tests/run_federation_tests5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/tests/run_federation_tests b/cpp/src/tests/run_federation_tests
index 28bcc012cc..8640fb728f 100755
--- a/cpp/src/tests/run_federation_tests
+++ b/cpp/src/tests/run_federation_tests
@@ -40,13 +40,12 @@ stop_brokers() {
if test -d ${PYTHON_DIR} ; then
start_brokers
echo "Running federation tests using brokers on ports $LOCAL_PORT $REMOTE_PORT"
- PYTHONPATH=${PYTHON_DIR}
+ PYTHONPATH=${PYTHON_DIR}:${MY_DIR}
export PYTHONPATH
- ${MY_DIR}/federation.py -v -s ${MY_DIR}/../../../specs/amqp.0-10-qpid-errata.xml -b localhost:$LOCAL_PORT --remote-port $REMOTE_PORT $@
+ ${PYTHON_DIR}/qpid-python-test -m federation -b localhost:$LOCAL_PORT -Dremote-port=$REMOTE_PORT $@
RETCODE=$?
stop_brokers
if test x$RETCODE != x0; then
echo "FAIL federation tests"; exit 1;
fi
fi
-