Author: gnichols
Date: 2011-03-23 16:13:47 +0000 (Wed, 23 Mar 2011)
New Revision: 827
Modified:
trunk/v7/hardwaretest.py
Log:
690218 - v7 should re-raise test exceptions when --debug is set
Modified: trunk/v7/hardwaretest.py
===================================================================
--- trunk/v7/hardwaretest.py 2011-03-23 15:57:50 UTC (rev 826)
+++ trunk/v7/hardwaretest.py 2011-03-23 16:13:47 UTC (rev 827)
@@ -697,6 +697,9 @@
print "Error: test raised exception:"
print exception
summary = Constants.ABORT
+ # if debugging, re-raise the exception to show tracebacks, etc.
+ if self.Debugging:
+ raise exception
run.setSummary(summary)
run.getResultsAttachments(self.environment, outputFilePath)
Show replies by date