Commit 3b1461fa authored by Jérome Perrin's avatar Jérome Perrin

DREAM: add a testrunner

parent f1a0c2a0
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
parts = parts =
dream_simulation dream_simulation
dream_platform dream_platform
dream_test_suite
publish-connection-parameter publish-connection-parameter
eggs-directory = ${buildout:eggs-directory} eggs-directory = ${buildout:eggs-directory}
...@@ -34,6 +35,12 @@ command-line = ${buildout:bin-directory}/dream_simulation ...@@ -34,6 +35,12 @@ command-line = ${buildout:bin-directory}/dream_simulation
wrapper-path = $${directory:script}/dream_simulation wrapper-path = $${directory:script}/dream_simulation
parameters-extra = true parameters-extra = true
[dream_test_suite]
recipe = slapos.cookbook:wrapper
command-line = ${dream_testrunner:script}
wrapper-path = $${directory:script}/dream_test_suite
parameters-extra = true
[directory] [directory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
home = $${buildout:directory} home = $${buildout:directory}
......
...@@ -6,6 +6,7 @@ extends = ...@@ -6,6 +6,7 @@ extends =
parts = parts =
slapos-cookbook slapos-cookbook
manpy manpy
dream_testrunner
instance instance
[instance] [instance]
...@@ -13,6 +14,13 @@ recipe = slapos.recipe.template ...@@ -13,6 +14,13 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/instance.cfg output = ${buildout:directory}/instance.cfg
[dream_testrunner]
recipe = zc.recipe.testrunner
eggs = dream
script = dream_testrunner
initialization =
${manpy:initialization}
[versions] [versions]
rpy2 = 2.4.0 rpy2 = 2.4.0
pydot = 1.0.28 pydot = 1.0.28
...@@ -30,4 +38,6 @@ plone.recipe.command = 1.1 ...@@ -30,4 +38,6 @@ plone.recipe.command = 1.1
slapos.recipe.template = 2.6 slapos.recipe.template = 2.6
zope.exceptions = 4.0.7 zope.exceptions = 4.0.7
zope.testing = 4.1.3 zope.testing = 4.1.3
zc.recipe.testrunner = 2.0.0
zope.testrunner = 4.4.6
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