Revert r40080 since this broke the coverage report.

svn path=/plone.app.discussion/trunk/; revision=40230
This commit is contained in:
Timo Stollenwerk 2010-09-24 19:27:59 +00:00
parent e95ae26a11
commit a33ec8a049

View File

@ -36,18 +36,18 @@ defaults = ['--auto-color', '--auto-progress']
recipe = zc.recipe.egg
eggs = coverage
initialization =
sys.argv = sys.argv[:] + ['xml',
'--include=plone/app/discussion/*.py',
'--omit=plone/app/discussion/tests/*']
sys.argv = sys.argv[:] + ['run', 'bin/test', '-k', '-q', '--xml']
[coverage-report]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report
initialization =
sys.argv = sys.argv[:] + ['report',
'--include=plone/app/discussion/*.py',
'--omit=plone/app/discussion/tests/*']
eggs = '${buildout:eggs-directory}'
bin = '${buildout:directory}/bin'
tests = '${buildout:directory}/${buildout:package-directory}/tests'
exclude = '--omit=' + ','.join([eggs, sys.prefix, bin, tests])
sys.argv = sys.argv[:] + ['xml', '-i', exclude]
[jscoverage-build]
recipe = zc.recipe.cmmi
@ -143,3 +143,4 @@ input = inline:
fi
output = ${buildout:directory}/bin/zptlint-test
mode = 755