From 43d68a5886c8dbf6dcc6681d1da595927382f5d6 Mon Sep 17 00:00:00 2001 From: "kasperl@chromium.org" Date: Wed, 17 Jun 2009 12:19:51 +0000 Subject: [PATCH] Make sure to treat tests that time out as having the TIMEOUT outcome. Review URL: http://codereview.chromium.org/125248 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2205 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- tools/test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/test.py b/tools/test.py index 6bd536b..f701ceb 100755 --- a/tools/test.py +++ b/tools/test.py @@ -372,6 +372,8 @@ class TestOutput(object): def UnexpectedOutput(self): if self.HasCrashed(): outcome = CRASH + elif self.HasTimedOut(): + outcome = TIMEOUT elif self.HasFailed(): outcome = FAIL else: @@ -390,7 +392,7 @@ class TestOutput(object): def HasTimedOut(self): return self.output.timed_out; - + def HasFailed(self): execution_failed = self.test.DidFail(self.output) if self.test.IsNegative(): -- 2.7.4