mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 906172 - Handle exceptions for sequential tests properly. r=ted
This commit is contained in:
parent
e779a2364d
commit
8c04019c3e
@ -1333,11 +1333,13 @@ class XPCShellTests(object):
|
||||
break
|
||||
test.start()
|
||||
test.join()
|
||||
self.addTestResults(test)
|
||||
# did the test encounter any exception?
|
||||
if test.exception:
|
||||
raise test.exception
|
||||
exceptions.append(test.exception)
|
||||
tracebacks.append(test.traceback)
|
||||
break
|
||||
keep_going = test.keep_going
|
||||
self.addTestResults(test)
|
||||
|
||||
# restore default SIGINT behaviour
|
||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||
|
Loading…
Reference in New Issue
Block a user