Skip to content

Commit 427124a

Browse files
committed
tools: treat SIGABRT as crash
Otherwise, potentially no output is shown for aborts. PR-URL: #19990 Refs: #19903 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 4f7f003 commit 427124a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/test.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,7 @@ def HasCrashed(self):
578578
# Timed out tests will have exit_code -signal.SIGTERM.
579579
if self.output.timed_out:
580580
return False
581-
return self.output.exit_code < 0 and \
582-
self.output.exit_code != -signal.SIGABRT
581+
return self.output.exit_code < 0
583582

584583
def HasTimedOut(self):
585584
return self.output.timed_out;

0 commit comments

Comments
 (0)