Commit 13d4dca6 authored by Jérome Perrin's avatar Jérome Perrin Committed by Kirill Smelkov

erp5: adjust runUnitTest and runTestSuite to use pygolang pyprog

parent 79d41451
...@@ -79,8 +79,8 @@ parts += ...@@ -79,8 +79,8 @@ parts +=
# Buildoutish # Buildoutish
eggs-all-scripts eggs-all-scripts
testrunner runUnitTest
test-suite-runner runTestSuite
# get git repositories # get git repositories
genbt5list genbt5list
...@@ -363,15 +363,9 @@ git-executable = ${git:location}/bin/git ...@@ -363,15 +363,9 @@ git-executable = ${git:location}/bin/git
branch = zope4py3 branch = zope4py3
[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}'''
...@@ -485,15 +479,9 @@ inline = ...@@ -485,15 +479,9 @@ inline =
erp5_coverage_plugin erp5_coverage_plugin
relative_files = true relative_files = true
[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
...@@ -525,6 +513,7 @@ exe = ${buildout:bin-directory}/${:_buildout_section_name_} ...@@ -525,6 +513,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment