From: Nathan Cutler Date: Fri, 3 May 2019 10:58:59 +0000 (+0200) Subject: pybind/tox: pass additional command line arguments through to tox X-Git-Tag: v15.1.0~2745^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F27947%2Fhead;p=ceph.git pybind/tox: pass additional command line arguments through to tox Fixes: 9426f1f2045d0ae0f319530c3dc3a9240d838d07 Fixes: https://tracker.ceph.com/issues/39579 Signed-off-by: Nathan Cutler --- diff --git a/src/pybind/mgr/ansible/run-tox.sh b/src/pybind/mgr/ansible/run-tox.sh index 5f215cd5fbc..f2eecd85fe1 100644 --- a/src/pybind/mgr/ansible/run-tox.sh +++ b/src/pybind/mgr/ansible/run-tox.sh @@ -35,7 +35,7 @@ fi # use bash string manipulation to strip off any trailing comma ENV_LIST=${ENV_LIST%,} -tox -c "${TOX_PATH}" -e "${ENV_LIST}" +tox -c "${TOX_PATH}" -e "${ENV_LIST}" "$@" TOX_STATUS="$?" test "$TOX_STATUS" -ne "0" && dump_envvars exit $TOX_STATUS diff --git a/src/pybind/mgr/dashboard/run-tox.sh b/src/pybind/mgr/dashboard/run-tox.sh index 3979a44836e..27c58514054 100755 --- a/src/pybind/mgr/dashboard/run-tox.sh +++ b/src/pybind/mgr/dashboard/run-tox.sh @@ -43,7 +43,7 @@ fi # use bash string manipulation to strip off any trailing comma ENV_LIST=${ENV_LIST%,} -tox -c "${TOX_PATH}" -e "${ENV_LIST}" +tox -c "${TOX_PATH}" -e "${ENV_LIST}" "$@" TOX_STATUS="$?" test "$TOX_STATUS" -ne "0" && dump_envvars exit $TOX_STATUS diff --git a/src/pybind/mgr/insights/run-tox.sh b/src/pybind/mgr/insights/run-tox.sh index 590ca9bee42..9a2c400f797 100644 --- a/src/pybind/mgr/insights/run-tox.sh +++ b/src/pybind/mgr/insights/run-tox.sh @@ -35,7 +35,7 @@ fi # use bash string manipulation to strip off any trailing comma ENV_LIST=${ENV_LIST%,} -tox -c "${TOX_PATH}" -e "${ENV_LIST}" +tox -c "${TOX_PATH}" -e "${ENV_LIST}" "$@" TOX_STATUS="$?" test "$TOX_STATUS" -ne "0" && dump_envvars exit $TOX_STATUS diff --git a/src/pybind/mgr/orchestrator_cli/run-tox.sh b/src/pybind/mgr/orchestrator_cli/run-tox.sh index d6e6f70e4c1..6a1a3418641 100644 --- a/src/pybind/mgr/orchestrator_cli/run-tox.sh +++ b/src/pybind/mgr/orchestrator_cli/run-tox.sh @@ -40,7 +40,7 @@ ENV_LIST=$(echo "$ENV_LIST" | sed -e 's/,$//') # use bash string manipulation to strip off any trailing comma ENV_LIST=${ENV_LIST%,} -tox -c "${TOX_PATH}" -e "${ENV_LIST}" +tox -c "${TOX_PATH}" -e "${ENV_LIST}" "$@" TOX_STATUS="$?" test "$TOX_STATUS" -ne "0" && dump_envvars exit $TOX_STATUS