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
5
Merge Requests
5
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
Jérome Perrin
slapos
Commits
85dea567
Commit
85dea567
authored
Oct 29, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! software/slapos-sr-testing: WIP use nxdtest
parent
7c43a19f
Pipeline
#12052
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
software/slapos-sr-testing/buildout.hash.cfg
software/slapos-sr-testing/buildout.hash.cfg
+1
-1
software/slapos-sr-testing/instance.cfg
software/slapos-sr-testing/instance.cfg
+3
-3
No files found.
software/slapos-sr-testing/buildout.hash.cfg
View file @
85dea567
...
...
@@ -15,4 +15,4 @@
[template]
filename = instance.cfg
md5sum =
db000a8e7be5887b2a6c64b24739a40a
md5sum =
6e3d27c900eac44df06b14e9da9d5d2e
software/slapos-sr-testing/instance.cfg
View file @
85dea567
...
...
@@ -34,7 +34,7 @@ nxdtest-working-dir = ${:var}/nxdtest
[slapos-test-runner-environment]
PATH = {{ buildout['bin-directory'] }}:{{ curl_location }}/bin/:{{ faketime_location }}/bin/:{{ openssl_location }}/bin/:
/usr/bin/:/bin
PATH = {{ buildout['bin-directory'] }}:{{ curl_location }}/bin/:{{ faketime_location }}/bin/:{{ openssl_location }}/bin/:
$PATH
SLAPOS_TEST_IPV4 = ${slap-configuration:ipv4-random}
SLAPOS_TEST_IPV6 = ${slap-configuration:ipv6-random}
SLAPOS_TEST_WORKING_DIR = ${directory:test-working-dir}
...
...
@@ -57,7 +57,7 @@ template = inline:
# TODO: switch to python -m unittest
# TODO: wrong summary ?
# XXX debug: {{ test }}
TestCase( """{{ test.split()[0] }}""", ["""{{ interpreter }}""", '
setup.py', 'test
'], cwd="""{{ test.split()[1] }}""", summaryf=PyTest.summary)
TestCase( """{{ test.split()[0] }}""", ["""{{ interpreter }}""", '
-m', 'unittest', '--', 'discover', '-v
'], cwd="""{{ test.split()[1] }}""", summaryf=PyTest.summary)
{% endfor %}
[runTestSuite]
...
...
@@ -69,7 +69,7 @@ workdir = ${slapos-test-runner-dot-nxdtest:workdir}
recipe = slapos.recipe.template:jinja2
rendered = ${directory:etc}/${:_buildout_section_name_}
template = inline:
export PATH=${slapos-test-runner-environment:PATH}
:$PATH
export PATH=${slapos-test-runner-environment:PATH}
export SLAPOS_TEST_IPV4=${slapos-test-runner-environment:SLAPOS_TEST_IPV4}
export SLAPOS_TEST_IPV6=${slapos-test-runner-environment:SLAPOS_TEST_IPV6}
export SLAPOS_TEST_WORKING_DIR=${slapos-test-runner-environment:SLAPOS_TEST_WORKING_DIR}
...
...
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