summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/run_cli_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
commitb09bc3be5ecbdda4e97a6929217d2c19182d6c83 (patch)
treedb10246695f846f90ba6e8c40e4de30935129d9b /qpid/cpp/src/tests/run_cli_tests
parent04213eae5ea065238c99495fe19ac109857f4c1f (diff)
downloadqpid-python-b09bc3be5ecbdda4e97a6929217d2c19182d6c83.tar.gz
fixed the cpp/python test integration
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803270 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/run_cli_tests')
-rwxr-xr-xqpid/cpp/src/tests/run_cli_tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/run_cli_tests b/qpid/cpp/src/tests/run_cli_tests
index 3d1d1e2868..ea0d591176 100755
--- a/qpid/cpp/src/tests/run_cli_tests
+++ b/qpid/cpp/src/tests/run_cli_tests
@@ -41,9 +41,9 @@ stop_brokers() {
if test -d ${PYTHON_DIR} ; then
start_brokers
echo "Running CLI tests using brokers on ports $LOCAL_PORT $REMOTE_PORT"
- PYTHONPATH=${PYTHON_DIR}
+ PYTHONPATH=${PYTHON_DIR}:${MY_DIR}
export PYTHONPATH
- ${MY_DIR}/cli_tests.py -v -s ${MY_DIR}/../../../specs/amqp.0-10-qpid-errata.xml -b localhost:$LOCAL_PORT --remote-port $REMOTE_PORT --cli-dir $CLI_DIR $@
+ ${PYTHON_DIR}/qpid-python-test -m cli_tests -b localhost:$LOCAL_PORT -Dremote-port=$REMOTE_PORT -Dcli-dir=$CLI_DIR $@
RETCODE=$?
stop_brokers
if test x$RETCODE != x0; then