[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()
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue