tests: plug coverage into run-tests
It makes easier to check what functions lack unit tests.
This commit is contained in:
parent
f93674de1a
commit
b225cefdf8
3
ci/coveragerc
Normal file
3
ci/coveragerc
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[run]
|
||||||
|
source = qubes
|
||||||
|
omit = qubes/tests/*
|
@ -1,5 +1,6 @@
|
|||||||
# WARNING: those requirements are used only for travis-ci.org
|
# WARNING: those requirements are used only for travis-ci.org
|
||||||
# they SHOULD NOT be used under normal conditions; use system package manager
|
# they SHOULD NOT be used under normal conditions; use system package manager
|
||||||
|
coverage
|
||||||
docutils
|
docutils
|
||||||
jinja2
|
jinja2
|
||||||
lxml
|
lxml
|
||||||
|
@ -7,4 +7,4 @@ PYTHONPATH="${TESTPYTHONPATH}:${PYTHONPATH}"
|
|||||||
export PYTHONPATH
|
export PYTHONPATH
|
||||||
|
|
||||||
"${PYTHON}" setup.py egg_info --egg-base "${TESTPYTHONPATH}"
|
"${PYTHON}" setup.py egg_info --egg-base "${TESTPYTHONPATH}"
|
||||||
"${PYTHON}" -m qubes.tests.run "$@"
|
"${PYTHON}" -m coverage run --rcfile=ci/coveragerc -m qubes.tests.run "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user