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
3cfb3fcd
Commit
3cfb3fcd
authored
2 years ago
by
zhifan huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change runtestsuite place
parent
64beeaf6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
software/re6stnet/buildout.hash.cfg
software/re6stnet/buildout.hash.cfg
+2
-2
software/re6stnet/instance.cfg.in
software/re6stnet/instance.cfg.in
+1
-1
software/re6stnet/run-unit-test.in
software/re6stnet/run-unit-test.in
+4
-1
No files found.
software/re6stnet/buildout.hash.cfg
View file @
3cfb3fcd
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# not need these here).
# not need these here).
[template]
[template]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
59d52b5e1d0d0beb907f8496b2c8187e
md5sum =
171980fd96785dba72fa1af2f1edd1f1
[template-re6stnet]
[template-re6stnet]
filename = instance-re6stnet.cfg.in
filename = instance-re6stnet.cfg.in
...
@@ -30,4 +30,4 @@ md5sum = feb4b3318f37414d1bf3d16a03aec93d
...
@@ -30,4 +30,4 @@ md5sum = feb4b3318f37414d1bf3d16a03aec93d
[template-runTestSuite]
[template-runTestSuite]
filename = run-unit-test.in
filename = run-unit-test.in
md5sum = 3
f55419497b7440200e4733ee4ffa6f6
md5sum = 3
9043b4a94159fe0846db1c5f44280e8
This diff is collapsed.
Click to expand it.
software/re6stnet/instance.cfg.in
View file @
3cfb3fcd
...
@@ -54,7 +54,7 @@ RootSoftwareInstance = ${:default}
...
@@ -54,7 +54,7 @@ RootSoftwareInstance = ${:default}
[runTestSuite-instance]
[runTestSuite-instance]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = {{template_re6st_runTestSuite}}
url = {{template_re6st_runTestSuite}}
output =
{{ bin_directory }}/runTestSuite1231
output =
${buildout:directory}/bin/runTestSuite
python-executable = {{ python_with_eggs }}
python-executable = {{ python_with_eggs }}
directory = ${buildout:directory}
directory = ${buildout:directory}
mode = 0700
mode = 0700
This diff is collapsed.
Click to expand it.
software/re6stnet/run-unit-test.in
View file @
3cfb3fcd
...
@@ -8,6 +8,9 @@ import time
...
@@ -8,6 +8,9 @@ import time
from erp5.util import taskdistribution
from erp5.util import taskdistribution
RUN_RE6ST_TESTS = "${buildout:bin-directory}" + "/re6st-testrunner"
class DummyTestResult:
class DummyTestResult:
class DummyTestResultLine:
class DummyTestResultLine:
...
@@ -66,7 +69,7 @@ def main():
...
@@ -66,7 +69,7 @@ def main():
if not test_result_line:
if not test_result_line:
break
break
command = [
"./re6st-testrunner"
]
command = [
RUN_RE6ST_TESTS
]
p = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
p = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
stderr=subprocess.PIPE)
out, err = p.communicate()
out, err = p.communicate()
...
...
This diff is collapsed.
Click to expand it.
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