From a4b4854e2ff0f3de69caa5e46d001575b9e22273 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Wed, 25 Apr 2018 17:51:32 +0200 Subject: [PATCH] tools: add log output to crashes PR-URL: https://github.com/nodejs/node/pull/20295 Reviewed-By: Richard Lau Reviewed-By: Joyee Cheung Reviewed-By: Matheus Marchini Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Refael Ackermann --- tools/test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/test.py b/tools/test.py index e652e47092c55b..a0a3121e486b3e 100755 --- a/tools/test.py +++ b/tools/test.py @@ -298,10 +298,8 @@ def HasRun(self, output): if output.HasCrashed(): self.severity = 'crashed' - exit_code = output.output.exit_code - self.traceback = "oh no!\nexit code: " + PrintCrashed(exit_code) - if output.HasTimedOut(): + elif output.HasTimedOut(): self.severity = 'fail' else: