tools: treat SIGABRT as crash
Otherwise, potentially no output is shown for aborts. PR-URL: https://github.com/nodejs/node/pull/19990 Refs: https://github.com/nodejs/node/issues/19903 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
parent
8e305890c9
commit
dadddcbf7b
@ -582,8 +582,7 @@ class TestOutput(object):
|
||||
# Timed out tests will have exit_code -signal.SIGTERM.
|
||||
if self.output.timed_out:
|
||||
return False
|
||||
return self.output.exit_code < 0 and \
|
||||
self.output.exit_code != -signal.SIGABRT
|
||||
return self.output.exit_code < 0
|
||||
|
||||
def HasTimedOut(self):
|
||||
return self.output.timed_out;
|
||||
|
Loading…
x
Reference in New Issue
Block a user