Fix coverage report.
svn path=/plone.app.discussion/trunk/; revision=40234
This commit is contained in:
parent
58868c55e7
commit
32702896b5
@ -8,8 +8,9 @@ package-directory = plone/app/discussion
|
|||||||
parts +=
|
parts +=
|
||||||
omelette
|
omelette
|
||||||
test
|
test
|
||||||
|
pycoverage
|
||||||
coverage
|
coverage
|
||||||
coverage-report
|
report
|
||||||
jscoverage-build
|
jscoverage-build
|
||||||
jscoverage
|
jscoverage
|
||||||
pylint
|
pylint
|
||||||
@ -32,22 +33,27 @@ recipe = collective.xmltestreport
|
|||||||
eggs = ${buildout:package-name}
|
eggs = ${buildout:package-name}
|
||||||
defaults = ['--auto-color', '--auto-progress']
|
defaults = ['--auto-color', '--auto-progress']
|
||||||
|
|
||||||
|
[pycoverage]
|
||||||
|
recipe = zc.recipe.egg
|
||||||
|
eggs = coverage
|
||||||
|
scripts = coverage=pycoverage
|
||||||
|
|
||||||
[coverage]
|
[coverage]
|
||||||
recipe = zc.recipe.egg
|
recipe = zc.recipe.egg
|
||||||
eggs = coverage
|
eggs = coverage
|
||||||
initialization =
|
initialization =
|
||||||
sys.argv = sys.argv[:] + ['run', 'bin/test', '-k', '-q', '--xml']
|
sys.argv = sys.argv[:] + ['run', 'bin/test', '-k', '-q', '--xml']
|
||||||
|
|
||||||
[coverage-report]
|
[report]
|
||||||
recipe = zc.recipe.egg
|
recipe = zc.recipe.egg
|
||||||
eggs = coverage
|
eggs = coverage
|
||||||
scripts = coverage=report
|
scripts = coverage=report
|
||||||
initialization =
|
initialization =
|
||||||
eggs = '${buildout:eggs-directory}'
|
eggs = '${buildout:eggs-directory}'
|
||||||
bin = '${buildout:directory}/bin'
|
bin = '${buildout:directory}/bin'
|
||||||
tests = '${buildout:directory}/${buildout:package-directory}/tests'
|
exclude = '--omit=' + 'plone/app/discussion/tests'
|
||||||
exclude = '--omit=' + ','.join([eggs, sys.prefix, bin, tests])
|
include = '--include=' + 'plone/app/discussion/*.py'
|
||||||
sys.argv = sys.argv[:] + ['xml', '-i', exclude]
|
sys.argv = sys.argv[:] + ['xml', '-i', include, exclude]
|
||||||
|
|
||||||
[jscoverage-build]
|
[jscoverage-build]
|
||||||
recipe = zc.recipe.cmmi
|
recipe = zc.recipe.cmmi
|
||||||
|
Loading…
Reference in New Issue
Block a user