Commit 75c87927 authored by Jérome Perrin's avatar Jérome Perrin

slapos-testing: replace slapos.cookbook:egg_test by slapos.cookbook:wrapper

slapos.cookbook:egg_test was not relying on anything that could not be
achieved by a simple slapos.cookbook:wrapper.
slapos.cookbook:wrapper are easier to manage because we don't need to
synchronize changes to profile and changes to egg.

At same time, start using new --python_interpreter parameter to pass our
generated interpreter with eggs
parent e7713b99
......@@ -16,5 +16,5 @@
[template]
filename = instance.cfg
md5sum = d121cbd59feda8eb0ebe652a04f014c3
md5sum = abeb992d704c4dc56e2ef9be00852b54
......@@ -60,23 +60,14 @@ repository = ${slapos.toolbox-repository:location}
[slapos-test-runner]
recipe = slapos.cookbook:egg_test
run-test-suite = $${create-directory:bin}/runTestSuite
run-test-suite-binary = ${buildout:bin-directory}/runTestSuite
# The list of executables should be defined here and a combination
# of tests should dynamically generated.
#python-list = $${}
test-list =
$${caucase:location}
$${erp5.util:location}
$${slapos.cookbook:location}
$${slapos.core:location}
$${slapos.recipe.build:location}
$${slapos.recipe.cmmi:location}
$${slapos.recipe.template:location}
$${slapos.toolbox:location}
prepend-path = ${curl:location}/bin:${openssl:location}/bin:${git:location}/bin:${libxslt:location}/bin:${python2.7:location}/bin
interpreter = ${eggs:interpreter}
recipe = slapos.cookbook:wrapper
wrapper-path = $${create-directory:bin}/runTestSuite
command-line =
${buildout:bin-directory}/runTestSuite
--python_interpreter=${eggs:interpreter}
--source_code_path_list=$${caucase:location},$${erp5.util:location},$${slapos.cookbook:location},$${slapos.core:location},$${slapos.recipe.build:location},$${slapos.recipe.cmmi:location},$${slapos.recipe.template:location},$${slapos.toolbox:location}
parameters-extra = true
environment = ${curl:location}/bin:${openssl:location}/bin:${git:location}/bin:${libxslt:location}/bin:${python2.7:location}/bin
[phantomjs-wrapper]
recipe = slapos.cookbook:wrapper
......
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