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:
Anna Henningsen 2018-04-13 00:34:57 +02:00 committed by Ruben Bridgewater
parent 8e305890c9
commit dadddcbf7b
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -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;