divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00584
[Merge] lp:~lvh/divmod.org/fix-coveragerc-path into lp:divmod.org
Laurens Van Houtven has proposed merging lp:~lvh/divmod.org/fix-coveragerc-path into lp:divmod.org.
Requested reviews:
Tristan Seligmann (mithrandi)
For more details, see:
https://code.launchpad.net/~lvh/divmod.org/fix-coveragerc-path/+merge/202734
Because we no longer run tox in the Axiom project directory, coverage can't find .coveragerc; so we get a lot of stupidly verbose output. This fixes that.
--
https://code.launchpad.net/~lvh/divmod.org/fix-coveragerc-path/+merge/202734
Your team Divmod-dev is subscribed to branch lp:divmod.org.
=== modified file 'Axiom/.coveragerc'
--- Axiom/.coveragerc 2013-08-14 10:48:04 +0000
+++ Axiom/.coveragerc 2014-01-22 19:12:18 +0000
@@ -1,8 +1,9 @@
[run]
branch = True
source =
- axiom
+ axiom
[report]
exclude_lines =
pragma: no cover
+show_missing = True
=== modified file 'Axiom/tox.ini'
--- Axiom/tox.ini 2014-01-15 15:19:42 +0000
+++ Axiom/tox.ini 2014-01-22 19:12:18 +0000
@@ -9,8 +9,8 @@
pip install -r {toxinidir}/requirements-testing.txt
coverage run {envdir}/bin/trial \
--temp-directory={envdir}/_trial {posargs:axiom}
- coverage report --show-missing
- coverage html --directory {envdir}/_coverage
+ coverage report --rcfile={toxinidir}/.coveragerc
+ coverage html --rcfile={toxinidir}/.coveragerc --directory {envdir}/_coverage
[testenv:py26-trunkdeps]
basepython = python2.6
References