[svn r38559] Give info about tests in case of failure/interruption
--HG-- branch : trunk
This commit is contained in:
parent
d1008d3752
commit
d01fb4a18e
|
@ -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()
|
||||
|
|
|
@ -120,6 +120,9 @@ class AbstractReporter(object):
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue