#2890 tests - Add support for running tox with specific test(s)
Merged a year ago by tkopecek. Opened a year ago by josepht.
josepht/koji tox-posargs  into  master

file modified
+3 -3
@@ -39,7 +39,7 @@ 

      {[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 @@ 

      {[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

  

no initial comment

Commit 97a0ecd fixes this pull-request

Pull-Request has been merged by tkopecek

a year ago
Metadata