tox: Allow passing positional arguments
Allows us to pass on arguments to run_tests and pytest after -- when executing tox. E.g.: To run all tests verbose in a test class: tox -- -v tests/test_project.py::ReviewableBranchTests Signed-off-by: Daniel Kutik <daniel.kutik@lavawerk.com> Change-Id: Ibd78856c6d4053c769f3d0b6130ebc8145275f78 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353176 Reviewed-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
parent
eda6b1ead7
commit
7b3afcab7a
1 changed files with 1 additions and 1 deletions
2
tox.ini
2
tox.ini
|
@ -29,7 +29,7 @@ python =
|
|||
deps =
|
||||
pytest
|
||||
pytest-timeout
|
||||
commands = {envpython} run_tests
|
||||
commands = {envpython} run_tests {posargs}
|
||||
setenv =
|
||||
GIT_AUTHOR_NAME = Repo test author
|
||||
GIT_COMMITTER_NAME = Repo test committer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue