Commit 4e09e7c5 authored by Rafael Monnerat's avatar Rafael Monnerat

Refactor development configuration for make runUnitTest and developement...

Refactor development configuration for make runUnitTest and developement independendt. For run tests the instance is not required.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35185 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2fe5d4e
......@@ -3,28 +3,37 @@ extends = ../profiles/deployment.cfg
parts +=
development-site
runUnitTest
[configuration]
development_site_bt5_path =
development_site_products =
${software_definition:products-zope}
${software_definition:products-erp5}
${software_definition:products-erp5-development}
${software_definition:products-deps}
${software_definition:products-other}
${software_definition:products-cmf15}
development_site_instancehome = ${buildout:var-directory}/development-site
[software_definition]
software_home = ${buildout:directory}
[runUnitTest]
recipe = erp5.recipe.testrunner
zope2-location = ${development-site:zope2-location}
products =
${software_definition:products-zope}
${development-site:products}
bt5_path = ${development-site:bt5-path}
<= test-runner-template
products = ${configuration:development_site_products}
bt5_path = ${configuration:development_site_bt5_path}
instance-home = ${development-site:instancehome}
initialization =
import os
os.environ['PATH'] = ':'.join(['${buildout:data-bin-directory}','${buildout:bin-directory}'] + os.environ.get('PATH','').split(':'))
instance-home = ${configuration:development_site_instancehome}
[development-site]
<= zope-instance-template
# developer by default want to have updatable Data.fs
force-zodb-update = true
bt5-path =
bt5-path = ${configuration:development_site_bt5_path}
bt5 =
eggs =
Products.ExternalEditor
......@@ -44,17 +53,13 @@ mysql_superpassword =
# zope.conf template part BEGIN
debug-mode = on
instancehome = ${buildout:var-directory}/development-site
instancehome = ${configuration:development_site_instancehome}
http-address = 18080
# until we will have more control over products we need to redefine to insert
# local products to be able to override
products =
${:instancehome}/Products/
${software_definition:products-erp5}
${software_definition:products-erp5-development}
${software_definition:products-deps}
${software_definition:products-other}
${software_definition:products-cmf15}
${configuration:development_site_products}
# zope.conf template part ENDS
[requirements]
......
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