Commit 9cfa3a6c authored by Julien Muchembled's avatar Julien Muchembled

buildout-testing: simplify previous commit

parent aa5a0991
......@@ -4,7 +4,6 @@ import argparse, os, re, subprocess, sys
from time import gmtime, strftime, time
from erp5.util import taskdistribution
from erp5.util.testsuite import SubprocessError, TestSuite
from setuptools.version import __version__ as setuptools_version
from zc.buildout.buildout import Buildout
slapos_buildout = {{repr(slapos_buildout)}}
......@@ -96,9 +95,9 @@ def main():
extends = %s
develop =%s
parts = test
newest = false
[versions]
setuptools = %s
%s
[bootstrap]
......@@ -113,7 +112,6 @@ scripts =
zope-testrunner
""" % (os.path.join(slapos_buildout, 'buildout.cfg'),
''.join('\n ' + x for x in test_dict.itervalues()),
setuptools_version,
'\n'.join(x + ' =' for x in test_dict)))
finally:
os.close(fd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment