[Erp5-report] r40836 luke - /erp5/trunk/utils/erp5.appliance.test/src/test.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 29 09:40:23 CET 2010


Author: luke
Date: Mon Nov 29 09:40:22 2010
New Revision: 40836

URL: http://svn.erp5.org?rev=40836&view=rev
Log:
 - pass and reuse suite name

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=40836&r1=40835&r2=40836&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] (original)
+++ erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] Mon Nov 29 09:40:22 2010
@@ -373,6 +373,7 @@ def run_once(config, software_path,
                      buildout_file_name,
                      development_file_name,
                      binary_bootstrap_file_name,
+                     suite_name,
                      previous_software_revision=-1):
 
   status = False
@@ -398,7 +399,7 @@ def run_once(config, software_path,
   if config.erp5_log is not None:
     config.logger.debug('Configuring external logging system.')
     erp5_handler = ERP5TestReportHandler(config.erp5_log,
-        getMachineIdString(config), "ERP5Appliance212")
+        getMachineIdString(config), suite_name)
     config.logger.addHandler(erp5_handler)
     erp5_handler.revision = revision
   exc_info = None
@@ -697,7 +698,7 @@ def main212():
   try:
     config = parserConfig()
     run(config, run_once, 'buildout-2.12.cfg', 'development-2.12.cfg',
-                                                              'bootstrap2.6')
+        'bootstrap2.6', 'ERP5Appliance212')
     return_code = 0
   except SystemExit, err:
     # Catch exception raise by optparse
@@ -715,7 +716,8 @@ def main28():
   """Test ERP5 Appliance for 2.8 with full checkout."""
   try:
     config = parserConfig()
-    run(config, run_once, 'buildout.cfg', 'development.cfg', 'bootstrap2.4')
+    run(config, run_once, 'buildout.cfg', 'development.cfg', 'bootstrap2.4',
+        'ERP5Appliance28')
     return_code = 0
   except SystemExit, err:
     # Catch exception raise by optparse




More information about the Erp5-report mailing list