[svn r38559] Give info about tests in case of failure/interruption

--HG--
branch : trunk
This commit is contained in:
fijal 2007-02-12 14:14:36 +01:00
parent d1008d3752
commit d01fb4a18e
2 changed files with 8 additions and 3 deletions

View File

@ -137,7 +137,9 @@ class PongReceived(ReportEvent):
self.result = result
class InterruptedExecution(ReportEvent):
pass
def __init__(self):
self.timeend = time.time()
class CrashedExecution(ReportEvent):
pass
def __init__(self):
self.timeend = time.time()

View File

@ -119,7 +119,10 @@ class AbstractReporter(object):
self.hangs()
self.summary()
return len(self.failed_tests_outcome) > 0
report_InterruptedExecution = report_TestFinished
report_CrashedExecution = report_TestFinished
def hangs(self):
h = []
if self.config.option.exitfirst: