Changeset 56746 in webkit


Ignore:
Timestamp:
Mar 29, 2010 3:35:35 PM (14 years ago)
Author:
dpranke@chromium.org
Message:

2010-03-29 Dirk Pranke <dpranke@chromium.org>

Reviewed by Dimitri Glazkov.

Change new-run-webkit-tests to not use more than four threads by
default on the mac port until
https://bugs.webkit.org/show_bug.cgi?id=36622 is fixed.

https://bugs.webkit.org/show_bug.cgi?id=36687

  • Scripts/webkitpy/layout_tests/port/mac.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56745 r56746  
     12010-03-29  Dirk Pranke  <dpranke@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        Change new-run-webkit-tests to not use more than four threads by
     6        default on the mac port until
     7        https://bugs.webkit.org/show_bug.cgi?id=36622 is fixed.
     8
     9        https://bugs.webkit.org/show_bug.cgi?id=36687
     10
     11        * Scripts/webkitpy/layout_tests/port/mac.py:
     12
    1132010-03-29  Dirk Pranke  <dpranke@chromium.org>
    214
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/mac.py

    r56745 r56746  
    161161
    162162    def num_cores(self):
    163         return int(os.popen2("sysctl -n hw.ncpu")[1].read())
     163        ncores = int(os.popen2("sysctl -n hw.ncpu")[1].read())
     164        # FIXME: new-run-webkit-tests is unstable running more than four
     165        # threads in parallel.
     166        # See https://bugs.webkit.org/show_bug.cgi?id=36622
     167        if ncores > 4:
     168            ncores = 4
     169        return ncores
    164170
    165171    def path_to_test_expectations_file(self):
Note: See TracChangeset for help on using the changeset viewer.