From 427124a7bbed0c392ed9ad070a0ae08756ac8bb0 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 ccc25f2a883c15..74216546741720 100755 --- a/tools/test.py +++ b/tools/test.py @@ -578,8 +578,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;