Commit 79d44316 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent eccf27e5
......@@ -2,7 +2,7 @@
[buildout]
extends =
../../../stack/slapos.cfg
../../../stack/nxdtest.cfg
../buildout-dev.cfg
parts =
......@@ -11,10 +11,14 @@ parts =
runTestSuite
# for instance
slaops-cookbook
slapos-cookbook
instance.cfg
# XXX correct ?
[pygolang]
eggs += pygolang[all_test]
[instance.cfg]
<= nxdtest-instance
# Stack for creating testnode instances to be run via nxdtest on Nexedi testing infrastructure.
[buildout]
extends =
slapos.cfg
[nxdtest-instance]
# instance to test a software via nxdtest under Nexedi testing infrastructure.
[buildout]
parts = runTestSuite
# std stuff for slapos instance
eggs-directory = {{ buildout['eggs-directory'] }}
develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
offline = true
# software release we instantiate was supplied here
[software]
dir = {{ buildout['directory'] }}
bin = {{ buildout['bin-directory'] }}
# instance directories
[directory]
recipe = slapos.cookbook:mkdirectory
home = ${buildout:directory}
bin = ${:home}/bin
neotest = ${:home}/neotest # XXX
# script to run the testsuite from inside <instance>/neotest/ XXX
# located @ <instance>/bin/runTestSuite so testnode can see this as run tests entrypoint.
[runTestSuite]
recipe = slapos.cookbook:wrapper
wrapper-path = ${directory:bin}/${:_buildout_section_name_}
command-line = /bin/bash -c 'cd ${directory:neotest} && ${software:bin}/neotest-runTestSuite "$@"' runTestSuite
# "$@" is implicitly added to argv
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