Changeset 120007 in webkit


Ignore:
Timestamp:
Jun 11, 2012 2:17:58 PM (12 years ago)
Author:
dpranke@chromium.org
Message:

nrwt exits early too frequently
https://bugs.webkit.org/show_bug.cgi?id=73843

Reviewed by Ryosuke Niwa.

Change the defaults for new-run-webkit-tests for both
--exit-after-n-failures and --exit-after-n-crashes-or-timeouts
to zero (i.e., we will never exit early by default).

If people want their buildbots to exit early it is their
responsibility to update their buildbot configs appropriately.

Note that we have tests that ensure that these flags work for
non-zero numbers, but we don't have tests that either test the
default or ensure that zero means "run all of the tests". I
think that's okay but can add tests if others disagree.

Also note that it looks like no changes on the build.webkit.org
master.cfg are necessary; all of the bots seem to be using the
RunWebKitTests wrapper which is already setting the flags. There
is a NewRunWebKitTests wrapper, but that looks to be unused; I
will delete that in a separate patch.

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(parse_args):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r120001 r120007  
     12012-06-11  Dirk Pranke  <dpranke@chromium.org>
     2
     3        nrwt exits early too frequently
     4        https://bugs.webkit.org/show_bug.cgi?id=73843
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Change the defaults for new-run-webkit-tests for both
     9        --exit-after-n-failures and --exit-after-n-crashes-or-timeouts
     10        to zero (i.e., we will never exit early by default).
     11
     12        If people want their buildbots to exit early it is their
     13        responsibility to update their buildbot configs appropriately.
     14
     15        Note that we have tests that ensure that these flags work for
     16        non-zero numbers, but we don't have tests that either test the
     17        default or ensure that zero means "run all of the tests". I
     18        think that's okay but can add tests if others disagree.
     19
     20        Also note that it looks like no changes on the build.webkit.org
     21        master.cfg are necessary; all of the bots seem to be using the
     22        RunWebKitTests wrapper which is already setting the flags. There
     23        is a NewRunWebKitTests wrapper, but that looks to be unused; I
     24        will delete that in a separate patch.
     25
     26        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
     27        (parse_args):
     28
    1292012-06-11  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
    230
  • trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

    r118408 r120007  
    384384        optparse.make_option("-f", "--fully-parallel", action="store_true",
    385385            help="run all tests in parallel"),
    386         optparse.make_option("--exit-after-n-failures", type="int", default=500,
     386        optparse.make_option("--exit-after-n-failures", type="int", default=None,
    387387            help="Exit after the first N failures instead of running all "
    388388            "tests"),
    389389        optparse.make_option("--exit-after-n-crashes-or-timeouts", type="int",
    390             default=20, help="Exit after the first N crashes instead of "
     390            default=None, help="Exit after the first N crashes instead of "
    391391            "running all tests"),
    392392        optparse.make_option("--iterations", type="int", help="Number of times to run the set of tests (e.g. ABCABCABC)"),
Note: See TracChangeset for help on using the changeset viewer.