write console output to temporary folder in any case the test case fails, even if no traceback is raised

This commit is contained in:
Bernardo Damele 2013-01-15 15:51:03 +00:00
parent 4eaa0d17aa
commit ec076f5f8a

View File

@ -292,8 +292,9 @@ def runCase(switches=None, parse=None):
if failedItem is not None: if failedItem is not None:
failedParseOn = console failedParseOn = console
elif retVal is False and tback is not None: elif retVal is False:
failedParseOn = console failedParseOn = console
if tback:
failedTraceBack = tback failedTraceBack = tback
return retVal return retVal