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
Joanne Hugé
slapos
Commits
88ee6f7d
Commit
88ee6f7d
authored
Jun 01, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify instance.cfg instead of software.cfg
parent
d02ddc8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
122 additions
and
122 deletions
+122
-122
software/slapos-testing/buildout.hash.cfg
software/slapos-testing/buildout.hash.cfg
+1
-1
software/slapos-testing/instance.cfg
software/slapos-testing/instance.cfg
+95
-95
software/slapos-testing/software.cfg
software/slapos-testing/software.cfg
+26
-26
No files found.
software/slapos-testing/buildout.hash.cfg
View file @
88ee6f7d
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
[template]
[template]
filename = instance.cfg
filename = instance.cfg
md5sum =
5f5378550470b551d280dd432878a0ba
md5sum =
37be412d7b56b49f2ad1ff973b0c32c1
software/slapos-testing/instance.cfg
View file @
88ee6f7d
...
@@ -120,101 +120,101 @@ output = $${:workdir}/.nxdtest
...
@@ -120,101 +120,101 @@ output = $${:workdir}/.nxdtest
workdir = $${create-directory:nxdtest-working-dir}
workdir = $${create-directory:nxdtest-working-dir}
inline =
inline =
import six
import six
TestCase(
#
TestCase(
"kedifa",
#
"kedifa",
['python', '-m', 'unittest', 'discover', '-v'],
#
['python', '-m', 'unittest', 'discover', '-v'],
cwd="""$${kedifa:location}""",
#
cwd="""$${kedifa:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"caucase",
#
"caucase",
['$${caucase-test-runner:output}'],
#
['$${caucase-test-runner:output}'],
cwd="""$${caucase:location}""",
#
cwd="""$${caucase:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"erp5.util",
#
"erp5.util",
['python', '-m', 'unittest', 'discover', '-v', '--start', 'erp5/tests/'],
#
['python', '-m', 'unittest', 'discover', '-v', '--start', 'erp5/tests/'],
cwd="""$${erp5.util:location}""",
#
cwd="""$${erp5.util:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"slapos.cookbook",
#
"slapos.cookbook",
# slapos/test contain both tests for recipes and tests for
#
# slapos/test contain both tests for recipes and tests for
# json schemas, we only care about recipe tests here, json
#
# json schemas, we only care about recipe tests here, json
# schemas are tested in software/slapos-sr-testing
#
# schemas are tested in software/slapos-sr-testing
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapos/test/recipe'],
#
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapos/test/recipe'],
cwd="""$${slapos.cookbook:location}""",
#
cwd="""$${slapos.cookbook:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"slapos.core",
#
"slapos.core",
# ['python', '-m', 'unittest', 'discover', '-v'],
#
# ['python', '-m', 'unittest', 'discover', '-v'],
# XXX some test fail when running with unittest (slapos*.cfg.example
#
# XXX some test fail when running with unittest (slapos*.cfg.example
# files cannot be found with pkg_resources.resource_string), so we keep
#
# files cannot be found with pkg_resources.resource_string), so we keep
# using setup.py test for now.
#
# using setup.py test for now.
['python', 'setup.py', 'test'],
#
['python', 'setup.py', 'test'],
cwd="""$${slapos.core:location}""",
#
cwd="""$${slapos.core:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"slapos.recipe.build",
#
"slapos.recipe.build",
['python', '-m', 'unittest', 'discover', '-v'],
#
['python', '-m', 'unittest', 'discover', '-v'],
cwd="""$${slapos.recipe.build:location}""",
#
cwd="""$${slapos.recipe.build:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"slapos.recipe.cmmi",
#
"slapos.recipe.cmmi",
['python', '-m', 'unittest', 'discover', '-v'],
#
['python', '-m', 'unittest', 'discover', '-v'],
cwd="""$${slapos.recipe.cmmi:location}""",
#
cwd="""$${slapos.recipe.cmmi:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"slapos.recipe.template",
#
"slapos.recipe.template",
# ['python', '-m', 'unittest', 'slapos.recipe.template.tests.test_suite'],
#
# ['python', '-m', 'unittest', 'slapos.recipe.template.tests.test_suite'],
# XXX some test fail when running with unittest, so we keep using setup.py test
#
# XXX some test fail when running with unittest, so we keep using setup.py test
['python', 'setup.py', 'test'],
#
['python', 'setup.py', 'test'],
cwd="""$${slapos.recipe.template:location}""",
#
cwd="""$${slapos.recipe.template:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
if six.PY3:
#
if six.PY3:
TestCase(
#
TestCase(
"slapos.toolbox",
#
"slapos.toolbox",
# ['python', '-m', 'unittest', 'discover', '-v'],
#
# ['python', '-m', 'unittest', 'discover', '-v'],
# XXX We can not just run unittest discover here, since slapos/lamp
#
# XXX We can not just run unittest discover here, since slapos/lamp
# imports MySQLDb and we currently don't have installed
#
# imports MySQLDb and we currently don't have installed
# slapos.toolbox[lampconfigure] and on python3 discovery make a
#
# slapos.toolbox[lampconfigure] and on python3 discovery make a
# failing test for this import error.
#
# failing test for this import error.
# Currently slapos/lamp is not tested, but if it it is still used,
#
# Currently slapos/lamp is not tested, but if it it is still used,
# the TODO seem to also install slapos.toolbox[lampconfigure] here.
#
# the TODO seem to also install slapos.toolbox[lampconfigure] here.
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapos/test', '--top-level-directory', '.'],
#
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapos/test', '--top-level-directory', '.'],
cwd="""$${slapos.toolbox:location}""",
#
cwd="""$${slapos.toolbox:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"slapos.libnetworkcache",
#
"slapos.libnetworkcache",
['python', '-m', 'unittest', '-v', 'slapos.libnetworkcachetests'],
#
['python', '-m', 'unittest', '-v', 'slapos.libnetworkcachetests'],
cwd="""$${slapos.libnetworkcache:location}""",
#
cwd="""$${slapos.libnetworkcache:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"slapcache",
#
"slapcache",
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapcache/test'],
#
['python', '-m', 'unittest', 'discover', '-v', '--start', 'slapcache/test'],
cwd="""$${slapcache:location}""",
#
cwd="""$${slapcache:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"slapos.rebootstrap",
#
"slapos.rebootstrap",
['python', '-m', 'unittest', '-v', 'slapos.rebootstrap.tests.test_suite'],
#
['python', '-m', 'unittest', '-v', 'slapos.rebootstrap.tests.test_suite'],
cwd="""$${slapos.rebootstrap:location}""",
#
cwd="""$${slapos.rebootstrap:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
TestCase(
#
TestCase(
"rubygemsrecipe",
#
"rubygemsrecipe",
['python', '-m', 'unittest', 'discover', '-v'],
#
['python', '-m', 'unittest', 'discover', '-v'],
cwd="""$${rubygemsrecipe:location}""",
#
cwd="""$${rubygemsrecipe:location}""",
summaryf=UnitTest.summary,
#
summaryf=UnitTest.summary,
)
#
)
if six.PY2:
if six.PY2:
TestCase(
TestCase(
"re6stnet",
"re6stnet",
...
...
software/slapos-testing/software.cfg
View file @
88ee6f7d
...
@@ -140,32 +140,32 @@ eggs =
...
@@ -140,32 +140,32 @@ eggs =
<= python-interpreter
<= python-interpreter
eggs +=
eggs +=
${extra-eggs:eggs}
${extra-eggs:eggs}
#
${lxml-python:egg}
${lxml-python:egg}
#
${python-PyYAML:egg}
${python-PyYAML:egg}
#
${python-cryptography:egg}
${python-cryptography:egg}
#
${backports.lzma:egg}
${backports.lzma:egg}
#
${pycurl:egg}
${pycurl:egg}
#
${bcrypt:egg}
${bcrypt:egg}
#
dnspython
dnspython
#
Jinja2
Jinja2
#
${kedifa-setup:egg}
${kedifa-setup:egg}
#
${caucase-setup:egg}
${caucase-setup:egg}
#
${erp5.util-setup:egg}
${erp5.util-setup:egg}
#
${slapos.cookbook-setup:egg}
${slapos.cookbook-setup:egg}
#
${slapos.core-setup:egg}
${slapos.core-setup:egg}
#
${slapos.recipe.build-setup:egg}
${slapos.recipe.build-setup:egg}
#
${slapos.recipe.cmmi-setup:egg}
${slapos.recipe.cmmi-setup:egg}
#
${slapos.recipe.template-setup:egg}
${slapos.recipe.template-setup:egg}
#
${slapos.toolbox-setup:egg}
${slapos.toolbox-setup:egg}
#
${slapos.libnetworkcache-setup:egg}
${slapos.libnetworkcache-setup:egg}
#
${slapcache-setup:egg}
${slapcache-setup:egg}
#
${slapos.rebootstrap-setup:egg}
${slapos.rebootstrap-setup:egg}
#
${rubygemsrecipe-setup:egg}
${rubygemsrecipe-setup:egg}
#
${pandas:egg}
${pandas:egg}
#
${statsmodels:egg}
${statsmodels:egg}
#
${scipy:egg}
${scipy:egg}
#
zope.testing
zope.testing
#
supervisor
supervisor
[eggs/scripts]
[eggs/scripts]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
...
...
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