Changeset 98801 in webkit


Ignore:
Timestamp:
Oct 29, 2011 1:21:28 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r98780.
http://trac.webkit.org/changeset/98780
https://bugs.webkit.org/show_bug.cgi?id=71173

Broke Qt bots (Requested by rniwa on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-10-29

  • Scripts/run-webkit-tests:

(useNewRunWebKitTests):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r98785 r98801  
     12011-10-29  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r98780.
     4        http://trac.webkit.org/changeset/98780
     5        https://bugs.webkit.org/show_bug.cgi?id=71173
     6
     7        Broke Qt bots (Requested by rniwa on #webkit).
     8
     9        * Scripts/run-webkit-tests:
     10        (useNewRunWebKitTests):
     11
    1122011-10-28  Rafael Weinstein  <rafaelw@chromium.org>
    213
  • trunk/Tools/Scripts/run-webkit-tests

    r98780 r98801  
    5858sub useNewRunWebKitTests()
    5959{
     60    # Change this check to control which platforms use new-run-webkit-tests by default.
     61    # Example: return runningOnBuildBot() && isLeopard();
     62    # would enable new-run-webkit-tests on only the leopard buildbots.
     63
     64    # Note: We use a whitelist here to avoid calling isPORT() for ports
     65    # for which we haven't explicitly added support.  Calling isPORT()
     66    # will remove the --PORT argument from @ARGV, causing us to fail to pass it to the test harness.
     67
    6068    # NRWT Windows support still needs work: https://bugs.webkit.org/show_bug.cgi?id=38756
    61     return 0 if isWindows() or isCygwin();
    62     # NRWT does not support qt-arm: https://bugs.webkit.org/show_bug.cgi?id=64086
    63     return 0 if isQt() and isArm();
    64     # All other platforms should use NRWT by default.
    65     return 1;
    66 }
    6769
    68 sub platformIsReadyForParallelTesting()
    69 {
    70     # NRWT is able to run the tests in parallel, ORWT was not.
    71     # When we run the tests in parallel, tests which (incorrectly)
    72     # interact with each other can start failing.
    73     # To reduce the failure burden during the transition individual
    74     # platforms can opt-in to parallel test execution by default.
     70    # NRWT doesn't support qt-arm and qt-4.8 platforms now: https://bugs.webkit.org/show_bug.cgi?id=64071 and https://bugs.webkit.org/show_bug.cgi?id=64086
     71    if (isQt()) {
     72        return (!isARM());
     73    }
    7574
    76     # Platforms interested in dog-fooding faster test runs on their bots
    77     # should add themselves to this blacklist, e.g.:
    78     # return isGtk() or isQt();
    79     # This will likely require skipping tests or marking tests as flaky in test_expectations.txt
    80     return 0;
     75    return (isLeopard() or isSnowLeopard() or isLion() or isGtk());
    8176}
    8277
     
    8681    $harnessName = "new-run-webkit-tests";
    8782
    88     if (!grep(/--child-processes/, @ARGV) and !platformIsReadyForParallelTesting()) {
     83    if (!grep(/--child-processes/, @ARGV)) {
    8984        push(@ARGV, "--child-processes=1");
    9085        print "Running new-run-webkit-tests with one child process.\n";
     
    9792}
    9893
     94# FIXME: We need a cleaner way to do --platform handling.
    9995# webkitdirs.pm strips --qt and --gtk from @ARGV when we call isQt/isGtk.
    10096# We have to add back any --PORT arguments which may have been removed by isPort() checks above.
Note: See TracChangeset for help on using the changeset viewer.