Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
79d44316
Commit
79d44316
authored
Sep 25, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
eccf27e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
2 deletions
+41
-2
component/pygolang/test/software.cfg
component/pygolang/test/software.cfg
+6
-2
stack/nxdtest.cfg
stack/nxdtest.cfg
+7
-0
stack/nxdtest/instance.cfg.in
stack/nxdtest/instance.cfg.in
+28
-0
No files found.
component/pygolang/test/software.cfg
View file @
79d44316
...
...
@@ -2,7 +2,7 @@
[buildout]
extends =
../../../stack/
slapos
.cfg
../../../stack/
nxdtest
.cfg
../buildout-dev.cfg
parts =
...
...
@@ -11,10 +11,14 @@ parts =
runTestSuite
# for instance
sla
op
s-cookbook
sla
po
s-cookbook
instance.cfg
# XXX correct ?
[pygolang]
eggs += pygolang[all_test]
[instance.cfg]
<= nxdtest-instance
stack/nxdtest.cfg
0 → 100644
View file @
79d44316
# Stack for creating testnode instances to be run via nxdtest on Nexedi testing infrastructure.
[buildout]
extends =
slapos.cfg
[nxdtest-instance]
stack/nxdtest/instance.cfg.in
0 → 100644
View file @
79d44316
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment