Reviewers: Søren Gjesse,

Description:
Make sure to treat tests that time out as having the
TIMEOUT outcome.

Please review this at http://codereview.chromium.org/125248

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     tools/test.py


Index: tools/test.py
===================================================================
--- tools/test.py       (revision 2195)
+++ tools/test.py       (working copy)
@@ -372,6 +372,8 @@
    def UnexpectedOutput(self):
      if self.HasCrashed():
        outcome = CRASH
+    elif self.HasTimedOut():
+      outcome = TIMEOUT
      elif self.HasFailed():
        outcome = FAIL
      else:
@@ -390,7 +392,7 @@

    def HasTimedOut(self):
      return self.output.timed_out;
-
+
    def HasFailed(self):
      execution_failed = self.test.DidFail(self.output)
      if self.test.IsNegative():



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to