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 recipe = zc.recipe.egg
eggs = coverage eggs = coverage
initialization = initialization =
sys.argv = sys.argv[:] + ['xml', sys.argv = sys.argv[:] + ['run', 'bin/test', '-k', '-q', '--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 scripts = coverage=report
initialization = initialization =
sys.argv = sys.argv[:] + ['report', eggs = '${buildout:eggs-directory}'
'--include=plone/app/discussion/*.py', bin = '${buildout:directory}/bin'
'--omit=plone/app/discussion/tests/*'] tests = '${buildout:directory}/${buildout:package-directory}/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,3 +143,4 @@ input = inline:
fi fi
output = ${buildout:directory}/bin/zptlint-test output = ${buildout:directory}/bin/zptlint-test
mode = 755 mode = 755