[Checkins] SVN: zc.selenium/trunk/src/zc/selenium/selenium.py If there are errors, let's print the action log. This is very

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Aug 25 14:53:58 EDT 2008


Log message for revision 90242:
  If there are errors, let's print the action log. This is very 
  informative, if one is not watching the test run, like when using 
  buildbot.
  

Changed:
  U   zc.selenium/trunk/src/zc/selenium/selenium.py

-=-
Modified: zc.selenium/trunk/src/zc/selenium/selenium.py
===================================================================
--- zc.selenium/trunk/src/zc/selenium/selenium.py	2008-08-25 17:18:22 UTC (rev 90241)
+++ zc.selenium/trunk/src/zc/selenium/selenium.py	2008-08-25 18:53:58 UTC (rev 90242)
@@ -107,6 +107,10 @@
 
     print
     print 'Selenium test result:', results['result']
+    if results['result'] != 'passed':
+        print
+        print results['log']
+        print
     print '%s tests passed, %s tests failed.' % (
               results['numTestPasses'], results['numTestFailures'])
     print ('%s commands passed, %s commands failed, %s commands had errors.'



More information about the Checkins mailing list