From dadddcbf7b844a249b73bec96d0265c303bf6dab Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Fri, 13 Apr 2018 00:34:57 +0200 Subject: [PATCH] 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 Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Joyee Cheung Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell Reviewed-By: Refael Ackermann --- tools/test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/test.py b/tools/test.py index 0a142f602be4e7..8eaa2611d02427 100755 --- a/tools/test.py +++ b/tools/test.py @@ -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;