From: kasperl@chromium.org Date: Wed, 17 Jun 2009 12:19:51 +0000 (+0000) Subject: Make sure to treat tests that time out as having the X-Git-Tag: upstream/4.7.83~23876 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43d68a5886c8dbf6dcc6681d1da595927382f5d6;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/tools/test.py b/tools/test.py index 6bd536b38..f701ceb77 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():