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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 23 09:38:43 CET 2010


Author: luke
Date: Tue Nov 23 09:38:43 2010
New Revision: 40509

URL: http://svn.erp5.org?rev=40509&view=rev
Log:
 - transmit only last 900 of produced log output

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=40509&r1=40508&r2=40509&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] (original)
+++ erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] Tue Nov 23 09:38:43 2010
@@ -199,7 +199,7 @@ class ERP5TestReportHandler(FileHandler)
     tl = open(templog, 'w')
     tl.write(TB_SEP + '\n')
     tl.write(distribution_info+'\n')
-    for log_line in log_lines:
+    for log_line in log_lines[-900:]:
       starts = log_line.startswith
       if starts('Ran') or starts('FAILED') or starts('OK') or starts(TB_SEP):
         continue




More information about the Erp5-report mailing list