Commit db2565d5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos-testing: Start to test slapos.libnetworkcache

parent 6d1aef56
...@@ -15,5 +15,5 @@ ...@@ -15,5 +15,5 @@
[template] [template]
filename = instance.cfg filename = instance.cfg
md5sum = 37f6d8cfa54e8dacf04f13327caac208 md5sum = d361db5f94e8c568e2aa44014d0ba91b
...@@ -30,6 +30,10 @@ git-executable = ${git:location}/bin/git ...@@ -30,6 +30,10 @@ git-executable = ${git:location}/bin/git
<= download-source <= download-source
repository = ${caucase-repository:location} repository = ${caucase-repository:location}
[slapos.libnetworkcache]
<= download-source
repository = ${slapos.libnetworkcache-repository:location}
[erp5.util] [erp5.util]
<= download-source <= download-source
repository = ${erp5.util-repository:location} repository = ${erp5.util-repository:location}
...@@ -65,7 +69,7 @@ wrapper-path = $${create-directory:bin}/runTestSuite ...@@ -65,7 +69,7 @@ wrapper-path = $${create-directory:bin}/runTestSuite
command-line = command-line =
${buildout:bin-directory}/runTestSuite ${buildout:bin-directory}/runTestSuite
--python_interpreter=${buildout:bin-directory}/${eggs:interpreter} --python_interpreter=${buildout:bin-directory}/${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} --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},$${slapos.libnetworkcache:location}
# Notes about environment: # Notes about environment:
# * slapos.cookbook:wrapper does not seem to allow "extending" PATH. Tests # * slapos.cookbook:wrapper does not seem to allow "extending" PATH. Tests
......
...@@ -34,6 +34,11 @@ recipe = zc.recipe.egg:develop ...@@ -34,6 +34,11 @@ recipe = zc.recipe.egg:develop
egg = caucase egg = caucase
setup = ${caucase-repository:location} setup = ${caucase-repository:location}
[slapos.libnetworkcache-setup]
<= setup-develop-egg
egg = slapos.libnetworkcache
setup = ${slapos.libnetworkcache-repository:location}
[erp5.util-setup] [erp5.util-setup]
<= setup-develop-egg <= setup-develop-egg
# XXX erp5.util does not have `test` extra require, but has a `testnode` extra require with same dependencies # XXX erp5.util does not have `test` extra require, but has a `testnode` extra require with same dependencies
...@@ -96,6 +101,7 @@ eggs = ...@@ -96,6 +101,7 @@ eggs =
${slapos.recipe.cmmi-setup:egg} ${slapos.recipe.cmmi-setup:egg}
${slapos.recipe.template-setup:egg} ${slapos.recipe.template-setup:egg}
${slapos.toolbox-setup:egg} ${slapos.toolbox-setup:egg}
${slapos.libnetworkcache-setup:egg}
mock mock
zope.testing zope.testing
httmock httmock
...@@ -133,6 +139,10 @@ repository = https://lab.nexedi.com/nexedi/slapos.core.git ...@@ -133,6 +139,10 @@ repository = https://lab.nexedi.com/nexedi/slapos.core.git
<= git-clone-repository <= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.recipe.template.git repository = https://lab.nexedi.com/nexedi/slapos.recipe.template.git
[slapos.libnetworkcache-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.libnetworkcache.git
[slapos.recipe.build-repository] [slapos.recipe.build-repository]
<= git-clone-repository <= git-clone-repository
repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git repository = https://lab.nexedi.com/nexedi/slapos.recipe.build.git
......
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