Changeset 138038 in webkit


Ignore:
Timestamp:
Dec 18, 2012, 10:32:21 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Tests that time out are not considered as failures.
https://bugs.webkit.org/show_bug.cgi?id=105318

Patch by Alberto Garcia <agarcia@igalia.com> on 2012-12-18
Reviewed by Martin Robinson.

  • BuildSlaveSupport/build.webkit.org-config/master.cfg:

(RunGtkAPITests.commandComplete):
Consider log lines that end with TIMEOUT as errors.

  • Scripts/run-gtk-tests:

(TestRunner.run_tests):
Consider timeouts as failures when returning the number of failed
tests.

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg

    r137612 r138038  
    543543        incorrectLines = []
    544544        for line in logText.splitlines():
    545             if line.startswith('ERROR'):
     545            if line.startswith('ERROR') or line.endswith('TIMEOUT\n'):
    546546                incorrectLines.append(line)
    547547
  • trunk/Tools/ChangeLog

    r138031 r138038  
     12012-12-18  Alberto Garcia  <agarcia@igalia.com>
     2
     3        [GTK] Tests that time out are not considered as failures.
     4        https://bugs.webkit.org/show_bug.cgi?id=105318
     5
     6        Reviewed by Martin Robinson.
     7
     8        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
     9        (RunGtkAPITests.commandComplete):
     10        Consider log lines that end with TIMEOUT as errors.
     11
     12        * Scripts/run-gtk-tests:
     13        (TestRunner.run_tests):
     14        Consider timeouts as failures when returning the number of failed
     15        tests.
     16
    1172012-12-18  Pravin D  <pravin.d@samsung.com>
    218
  • trunk/Tools/Scripts/run-gtk-tests

    r137581 r138038  
    348348            sys.stdout.flush()
    349349
    350         return len(failed_tests)
     350        return len(failed_tests) + len(timed_out_tests)
    351351
    352352if __name__ == "__main__":
Note: See TracChangeset for help on using the changeset viewer.