Skip to content

Commit

Permalink
tools: treat SIGABRT as crash
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
addaleax authored and jasnell committed Apr 16, 2018
1 parent e635723 commit 4f4e716
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,7 @@ def HasCrashed(self):
# 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;
Expand Down

0 comments on commit 4f4e716

Please sign in to comment.