[Erp5-report] r41537 luke - /erp5/trunk/utils/erp5.appliance.test/src/test.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 20 13:15:27 CET 2010
Author: luke
Date: Mon Dec 20 13:15:27 2010
New Revision: 41537
URL: http://svn.erp5.org?rev=41537&view=rev
Log:
- remove dynamicity, which is not needed
Modified:
erp5/trunk/utils/erp5.appliance.test/src/test.py
Modified: erp5/trunk/utils/erp5.appliance.test/src/test.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.appliance.test/src/test.py?rev=41537&r1=41536&r2=41537&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] (original)
+++ erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] Mon Dec 20 13:15:27 2010
@@ -544,7 +544,7 @@ def run_once(config, software_path,
config.logger.removeHandler(erp5_handler)
-def run(config, method,
+def run(config,
software_profile_url,
instance_profile_url,
binary_bootstrap_file_name, suite_name):
@@ -581,7 +581,7 @@ def run(config, method,
while 1:
# Run buildout once
- method(config, software_path, instance_path, software_profile_url,
+ run_once(config, software_path, instance_path, software_profile_url,
instance_profile_url, binary_bootstrap_file_name,
suite_name)
# Clean directory
@@ -592,7 +592,7 @@ def run(config, method,
shutil.rmtree(path)
if config.runonce:
- config.logger.info('Run finished')
+ vndonfig.logger.info('Run finished')
break
# Sleep some time
@@ -705,7 +705,7 @@ def main212():
"""Test ERP5 Appliance for 2.12."""
try:
config = parserConfig()
- run(config, run_once,
+ run(config,
'https://svn.erp5.org/repos/public/erp5/trunk/buildout/buildout-2.12.cfg',
'https://svn.erp5.org/repos/public/erp5/trunk/buildout/profiles/development-2.12.cfg',
'bootstrap2.6', 'ERP5Appliance212')
@@ -721,7 +721,7 @@ def main28():
"""Test ERP5 Appliance 2.8."""
try:
config = parserConfig()
- run(config, run_once,
+ run(config,
'https://svn.erp5.org/repos/public/erp5/trunk/buildout/buildout.cfg',
'https://svn.erp5.org/repos/public/erp5/trunk/buildout/profiles/development.cfg',
'bootstrap2.4',
More information about the Erp5-report
mailing list