Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhifan huang
slapos
Commits
2cbf5b18
Commit
2cbf5b18
authored
Apr 08, 2022
by
zhifan huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add re6stnet unittest in slapos testing
parent
fc0cfd30
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
software/slapos-testing/buildout.hash.cfg
software/slapos-testing/buildout.hash.cfg
+1
-1
software/slapos-testing/instance.cfg
software/slapos-testing/instance.cfg
+10
-0
software/slapos-testing/software.cfg
software/slapos-testing/software.cfg
+13
-0
No files found.
software/slapos-testing/buildout.hash.cfg
View file @
2cbf5b18
...
...
@@ -15,4 +15,4 @@
[template]
filename = instance.cfg
md5sum =
ba6c572678687081ce111d3805be3cee
md5sum =
3f99905ba5e8e38c600b598973a91016
software/slapos-testing/instance.cfg
View file @
2cbf5b18
...
...
@@ -82,6 +82,10 @@ repository = ${slapos.rebootstrap-repository:location}
<= download-source
repository = ${rubygemsrecipe-repository:location}
[re6stnet]
<= download-source
repository = ${re6stnet-repository:location}
[slapos-test-runner-nxdtest-environment.sh]
recipe = slapos.recipe.template:jinja2
...
...
@@ -189,6 +193,12 @@ template = inline:
cwd="""$${rubygemsrecipe:location}""",
summaryf=UnitTest.summary,
)
TestCase(
"re6stnet",
['python', '-m', 'unittest', 'discover', '-v'],
cwd="""$${re6stnet:location}/re6st/tests""",
summaryf=UnitTest.summary,
)
[runTestSuite]
env.sh = $${slapos-test-runner-nxdtest-environment.sh:rendered}
...
...
software/slapos-testing/software.cfg
View file @
2cbf5b18
...
...
@@ -111,6 +111,12 @@ setup = ${slapos.rebootstrap-repository:location}
egg = rubygemsrecipe[test]
setup = ${rubygemsrecipe-repository:location}
[re6stnet-setup]
<= setup-develop-egg
egg = re6stnet[test]
setup = ${re6stnet-repository:location}
[eggs]
<= python-interpreter
eggs +=
...
...
@@ -134,6 +140,7 @@ eggs +=
${slapos.libnetworkcache-setup:egg}
${slapos.rebootstrap-setup:egg}
${rubygemsrecipe-setup:egg}
${re6stnet-setup:egg}
zope.testing
supervisor
...
...
@@ -205,6 +212,11 @@ repository = https://lab.nexedi.com/nexedi/slapos.rebootstrap.git
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/rubygemsrecipe.git
[re6stnet-repository]
<= git-clone-repository
repository = https://lab.nexedi.com/nexedi/re6stnet.git
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
...
...
@@ -250,3 +262,4 @@ zope.testing = 4.6.2
urllib3 = 1.24.1
pathlib = 1.0.1
psycopg2 = 2.8.6
miniupnpc = 1.9
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