From a33ec8a0496812d5c97f943eca44ec4b347c007b Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 24 Sep 2010 19:27:59 +0000 Subject: [PATCH] Revert r40080 since this broke the coverage report. svn path=/plone.app.discussion/trunk/; revision=40230 --- test-plone-4.0.x.cfg | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test-plone-4.0.x.cfg b/test-plone-4.0.x.cfg index ec53e14..6f9c689 100644 --- a/test-plone-4.0.x.cfg +++ b/test-plone-4.0.x.cfg @@ -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 +