mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
e635723157
commit
4f4e716dc3
1 file changed
+1
-2
+1
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user