Changeset 130223 in webkit


Ignore:
Timestamp:
Oct 2, 2012 3:59:08 PM (12 years ago)
Author:
roger_fong@apple.com
Message:

executive_unittest.py fails on Apple Windows bots but not when run locally.
https://bugs.webkit.org/show_bug.cgi?id=98196

Reviewed by Eric Seidel.

Making the test more flexible to check for cygwin and allow different outputs from process.wait().

  • Scripts/webkitpy/common/system/executive_unittest.py:

(ExecutiveTest.serial_test_kill_process):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r130221 r130223  
     12012-10-02  Roger Fong  <roger_fong@apple.com>
     2
     3        executive_unittest.py fails on Apple Windows bots but not when run locally.
     4        https://bugs.webkit.org/show_bug.cgi?id=98196
     5
     6        Reviewed by Eric Seidel.
     7
     8        Making the test more flexible to check for cygwin and allow different outputs from process.wait().
     9
     10        * Scripts/webkitpy/common/system/executive_unittest.py:
     11        (ExecutiveTest.serial_test_kill_process):
     12
    1132012-10-02  Roger Fong  <roger_fong@apple.com>
    214
  • trunk/Tools/Scripts/webkitpy/common/system/executive_unittest.py

    r127181 r130223  
    163163            # We seem to get either 0 or 1 here for some reason.
    164164            self.assertTrue(process.wait() in (0, 1))
     165        elif sys.platform == "cygwin":
     166            # FIXME: https://bugs.webkit.org/show_bug.cgi?id=98196
     167            # cygwin seems to give us either SIGABRT or SIGKILL
     168            self.assertTrue(process.wait() in (-signal.SIGABRT, -signal.SIGKILL))
    165169        else:
    166170            expected_exit_code = -signal.SIGKILL
Note: See TracChangeset for help on using the changeset viewer.