Skip to content

Commit dadddcb

Browse files
addaleaxBridgeAR
authored andcommitted
tools: treat SIGABRT as crash
Otherwise, potentially no output is shown for aborts. PR-URL: #19990 Refs: #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>
1 parent 8e30589 commit dadddcb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,7 @@ def HasCrashed(self):
582582
# Timed out tests will have exit_code -signal.SIGTERM.
583583
if self.output.timed_out:
584584
return False
585-
return self.output.exit_code < 0 and \
586-
self.output.exit_code != -signal.SIGABRT
585+
return self.output.exit_code < 0
587586

588587
def HasTimedOut(self):
589588
return self.output.timed_out;

0 commit comments

Comments
 (0)