]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/tox: pass additional command line arguments through to tox
authorNathan Cutler <ncutler@suse.com>
Fri, 3 May 2019 10:58:59 +0000 (12:58 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 29 May 2019 11:40:30 +0000 (13:40 +0200)
Fixes: 9426f1f2045d0ae0f319530c3dc3a9240d838d07
Fixes: https://tracker.ceph.com/issues/39579
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit d04b44816028079ee65564d8244fe2b56c49047e)

src/pybind/mgr/ansible/run-tox.sh
src/pybind/mgr/dashboard/run-tox.sh
src/pybind/mgr/insights/run-tox.sh
src/pybind/mgr/orchestrator_cli/run-tox.sh

index 5f215cd5fbcb0f84dc8d1581b8f90adf509191ea..f2eecd85fe1cb45cc405957661763e617d114114 100644 (file)
@@ -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
index 3979a44836ee89faeb8710314c09065aff481bae..27c585140540239e1dc739ac753b5b667384c04c 100755 (executable)
@@ -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
index 590ca9bee4289ccd77fda7638c6ad640eb0c44cb..9a2c400f797c4ad7486e481b3b7246818e849a8a 100644 (file)
@@ -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
index d6e6f70e4c1bc8cd161844b928cd2dda48ccba32..6a1a34186419de6ed4214dbb700ea3d5f20a357c 100644 (file)
@@ -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