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
982ee563
Commit
982ee563
authored
May 07, 2024
by
Jérome Perrin
Committed by
Kirill Smelkov
Jun 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5: adjust runUnitTest and runTestSuite to use pygolang pyprog
parent
98237dde
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
20 deletions
+9
-20
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+9
-20
No files found.
stack/erp5/buildout.cfg
View file @
982ee563
...
@@ -78,8 +78,8 @@ parts +=
...
@@ -78,8 +78,8 @@ parts +=
# Buildoutish
# Buildoutish
eggs-all-scripts
eggs-all-scripts
testrunner
runUnitTest
test-suite-runner
runTestSuite
# get git repositories
# get git repositories
genbt5list
genbt5list
...
@@ -358,15 +358,9 @@ repository = https://lab.nexedi.com/nexedi/erp5.git
...
@@ -358,15 +358,9 @@ repository = https://lab.nexedi.com/nexedi/erp5.git
branch = master
branch = master
git-executable = ${git:location}/bin/git
git-executable = ${git:location}/bin/git
[testrunner]
[runUnitTest]
# XXX: Workaround for fact ERP5Type is not an distribution and does not
<= erp5-pyprog
# expose entry point for test runner
entry = runUnitTest:main
recipe = zc.recipe.egg
eggs = ${eggs:eggs}
extra-paths = ${eggs:extra-paths}
entry-points =
runUnitTest=runUnitTest:main
scripts = runUnitTest
initialization =
initialization =
import glob, os, sys, json
import glob, os, sys, json
buildout_directory = '''${buildout:directory}'''
buildout_directory = '''${buildout:directory}'''
...
@@ -443,15 +437,9 @@ initialization =
...
@@ -443,15 +437,9 @@ initialization =
test_name)
test_name)
[test-suite-runner]
[runTestSuite]
# XXX: Workaround for fact ERP5Type is not an distribution and does not
<= erp5-pyprog
# expose entry point for test runner
entry = Products.ERP5Type.tests.runTestSuite:main
recipe = zc.recipe.egg
eggs = ${eggs:eggs}
extra-paths = ${eggs:extra-paths}
entry-points =
runTestSuite=Products.ERP5Type.tests.runTestSuite:main
scripts = runTestSuite
initialization =
initialization =
import os
import os
import sys
import sys
...
@@ -483,6 +471,7 @@ exe = ${buildout:bin-directory}/${:_buildout_section_name_}
...
@@ -483,6 +471,7 @@ exe = ${buildout:bin-directory}/${:_buildout_section_name_}
python-interpreter = erp5-python-interpreter
python-interpreter = erp5-python-interpreter
# by default no need for extra eggs in addition to eggs provided by interpreter
# by default no need for extra eggs in addition to eggs provided by interpreter
eggs =
eggs =
extra-paths += ${eggs:extra-paths}
[erp5-python-interpreter-jupyter]
[erp5-python-interpreter-jupyter]
<= erp5-python-interpreter
<= erp5-python-interpreter
...
...
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