From 487d5308a5b2749a6875277ff00d38288225c730 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sat, 28 Aug 2010 14:07:35 +0000 Subject: [PATCH] Fix jscoverage and pylint sections. svn path=/plone.app.discussion/trunk/; revision=39248 --- test-plone-4.0.x.cfg | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/test-plone-4.0.x.cfg b/test-plone-4.0.x.cfg index 3deb012..064277a 100644 --- a/test-plone-4.0.x.cfg +++ b/test-plone-4.0.x.cfg @@ -8,9 +8,10 @@ parts += test coverage-test coverage-report + jscoverage-build jscoverage - jscoverage-test pylint + pylint-test [versions] zope.schema = 3.6.0 @@ -33,11 +34,11 @@ eggs = z3c.coverage scripts = coveragereport arguments = ('coverage', 'report') -[jscoverage] +[jscoverage-build] recipe = zc.recipe.cmmi url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2 -[jscoverage-test] +[jscoverage] recipe = collective.recipe.template input = inline: #!/bin/sh @@ -48,5 +49,17 @@ mode = 755 [pylint] recipe = zc.recipe.egg eggs = logilab.pylintinstaller +extra-paths = ${instance:location}/lib/python entry-points = pylint=pylint.lint:Run arguments = sys.argv[1:] + +[pylint-test] +recipe = collective.recipe.template +input = inline: + #!/bin/sh + rm pylint.out + echo "Running pylint" + find -L plone/app/discussion/ -regex ".*\.[c]?py" | xargs bin/pylint --output-format=parseable --zope=y --reports=n >> pylint.out + echo "finish" +output = ${buildout:directory}/bin/pylint-test +mode = 755