summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_cli_tests
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-02-25 20:54:02 +0000
committerGordon Sim <gsim@apache.org>2011-02-25 20:54:02 +0000
commit63dba1a5a98fd2d0dba7f05db25e0c16757be2c1 (patch)
tree90557d388f0367da321bb1bc81101a066c062c07 /cpp/src/tests/run_cli_tests
parenteacb3585cb4602f9a14b1581b97faaecaa57270b (diff)
downloadqpid-python-63dba1a5a98fd2d0dba7f05db25e0c16757be2c1.tar.gz
QPID-3087: add extra test for qpid-config and handling string values in arguments
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1074698 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/run_cli_tests')
-rwxr-xr-xcpp/src/tests/run_cli_tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/run_cli_tests b/cpp/src/tests/run_cli_tests
index 3f1388b9f5..721825e3d9 100755
--- a/cpp/src/tests/run_cli_tests
+++ b/cpp/src/tests/run_cli_tests
@@ -70,7 +70,8 @@ stop_brokers() {
if test -d ${PYTHON_DIR} ; then
start_brokers
echo "Running CLI tests using brokers on ports $LOCAL_PORT $REMOTE_PORT"
- $QPID_PYTHON_TEST -m cli_tests -b localhost:$LOCAL_PORT -Dremote-port=$REMOTE_PORT -Dcli-dir=$CLI_DIR $targs $@
+ PYTHON_TESTS=${PYTHON_TESTS:-$*}
+ $QPID_PYTHON_TEST -m cli_tests -b localhost:$LOCAL_PORT -Dremote-port=$REMOTE_PORT -Dcli-dir=$CLI_DIR $targs $PYTHON_TESTS $@
RETCODE=$?
stop_brokers
if test x$RETCODE != x0; then