Merge lp:~lvh/divmod.org/fix-coveragerc-path into lp:divmod.org

Proposed by Laurens Van Houtven
Status: Merged
Approved by: Tristan Seligmann
Approved revision: 2738
Merged at revision: 2739
Proposed branch: lp:~lvh/divmod.org/fix-coveragerc-path
Merge into: lp:divmod.org
Diff against target: 29 lines (+4/-3)
2 files modified
Axiom/.coveragerc (+2/-1)
Axiom/tox.ini (+2/-2)
To merge this branch: bzr merge lp:~lvh/divmod.org/fix-coveragerc-path
Reviewer Review Type Date Requested Status
Tristan Seligmann Approve
Review via email: mp+202734@code.launchpad.net

Description of the change

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.

To post a comment you must log in.
Revision history for this message
Tristan Seligmann (mithrandi) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Axiom/.coveragerc'
2--- Axiom/.coveragerc 2013-08-14 10:48:04 +0000
3+++ Axiom/.coveragerc 2014-01-22 19:12:18 +0000
4@@ -1,8 +1,9 @@
5 [run]
6 branch = True
7 source =
8- axiom
9+ axiom
10
11 [report]
12 exclude_lines =
13 pragma: no cover
14+show_missing = True
15
16=== modified file 'Axiom/tox.ini'
17--- Axiom/tox.ini 2014-01-15 15:19:42 +0000
18+++ Axiom/tox.ini 2014-01-22 19:12:18 +0000
19@@ -9,8 +9,8 @@
20 pip install -r {toxinidir}/requirements-testing.txt
21 coverage run {envdir}/bin/trial \
22 --temp-directory={envdir}/_trial {posargs:axiom}
23- coverage report --show-missing
24- coverage html --directory {envdir}/_coverage
25+ coverage report --rcfile={toxinidir}/.coveragerc
26+ coverage html --rcfile={toxinidir}/.coveragerc --directory {envdir}/_coverage
27
28 [testenv:py26-trunkdeps]
29 basepython = python2.6

Subscribers

People subscribed via source and target branches