PR#2890: tests - Add support for running tox with specific test(s)
Merges #2890 https://pagure.io/koji/pull-request/2890 Fixes: https://pagure.io/koji/issue/2892
This commit is contained in:
commit
97a0ecd5a0
1 changed files with 3 additions and 3 deletions
6
tox.ini
6
tox.ini
|
|
@ -39,7 +39,7 @@ commands_pre =
|
|||
{[testenv]commands_pre}
|
||||
{envbindir}/coverage3 erase --rcfile .coveragerc3
|
||||
commands =
|
||||
{envbindir}/coverage3 run --rcfile .coveragerc3 --source . -m nose
|
||||
{envbindir}/coverage3 run --rcfile .coveragerc3 --source . -m nose {posargs}
|
||||
{envbindir}/coverage3 report --rcfile .coveragerc3
|
||||
{envbindir}/coverage3 html -d {toxinidir}/htmlcov/py3 --rcfile .coveragerc3
|
||||
|
||||
|
|
@ -52,12 +52,12 @@ commands_pre =
|
|||
{[testenv]commands_pre}
|
||||
{envbindir}/coverage2 erase
|
||||
commands =
|
||||
{envbindir}/coverage2 run --source . -m nose \
|
||||
{envbindir}/coverage2 run --source . -m nose {posargs:\
|
||||
tests/test_builder tests/test_cli \
|
||||
tests/test_plugins/test_runroot_builder.py \
|
||||
tests/test_plugins/test_save_failed_tree_builder.py \
|
||||
tests/test_plugins/test_runroot_cli.py \
|
||||
tests/test_plugins/test_save_failed_tree_cli.py
|
||||
tests/test_plugins/test_save_failed_tree_cli.py}
|
||||
{envbindir}/coverage2 report
|
||||
{envbindir}/coverage2 html -d {toxinidir}/htmlcov/py2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue