Fix coverage.
svn path=/plone.app.discussion/trunk/; revision=40080
This commit is contained in:
parent
4b3473f74b
commit
9f605ab53b
@ -35,19 +35,19 @@ defaults = ['--auto-color', '--auto-progress']
|
|||||||
[coverage]
|
[coverage]
|
||||||
recipe = zc.recipe.egg
|
recipe = zc.recipe.egg
|
||||||
eggs = coverage
|
eggs = coverage
|
||||||
|
scripts = coverage=report
|
||||||
initialization =
|
initialization =
|
||||||
sys.argv = sys.argv[:] + ['run', 'bin/test', '-k', '-q', '--xml']
|
sys.argv = sys.argv[:] + ['xml',
|
||||||
|
'--include=plone/app/discussion/*.py',
|
||||||
|
'--omit=plone/app/discussion/tests/*']
|
||||||
|
|
||||||
[coverage-report]
|
[coverage-report]
|
||||||
recipe = zc.recipe.egg
|
recipe = zc.recipe.egg
|
||||||
eggs = coverage
|
eggs = coverage
|
||||||
scripts = coverage=report
|
|
||||||
initialization =
|
initialization =
|
||||||
eggs = '${buildout:eggs-directory}'
|
sys.argv = sys.argv[:] + ['report',
|
||||||
bin = '${buildout:directory}/bin'
|
'--include=plone/app/discussion/*.py',
|
||||||
tests = '${buildout:directory}/${buildout:package-directory}/tests'
|
'--omit=plone/app/discussion/tests/*']
|
||||||
exclude = '--omit=' + ','.join([eggs, sys.prefix, bin, tests])
|
|
||||||
sys.argv = sys.argv[:] + ['xml', '-i', exclude]
|
|
||||||
|
|
||||||
[jscoverage-build]
|
[jscoverage-build]
|
||||||
recipe = zc.recipe.cmmi
|
recipe = zc.recipe.cmmi
|
||||||
@ -143,4 +143,3 @@ input = inline:
|
|||||||
fi
|
fi
|
||||||
output = ${buildout:directory}/bin/zptlint-test
|
output = ${buildout:directory}/bin/zptlint-test
|
||||||
mode = 755
|
mode = 755
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user