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: nodejs#19990
Refs: nodejs#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 BridgeAR committed Apr 13, 2018
1 parent 8e30589 commit dadddcb
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 dadddcb

Please sign in to comment.