Changeset 70789 in webkit


Ignore:
Timestamp:
Oct 28, 2010 11:08:13 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-10-28 Søren Gjesse <sgjesse@chromium.org>

Reviewed by Tony Chang.

Added support for the DumpRenderTree flags --multiple-loads and --js-flags to the Python test runner.
https://bugs.webkit.org/show_bug.cgi?id=48236

  • Scripts/webkitpy/layout_tests/port/chromium.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r70788 r70789  
     12010-10-28  Søren Gjesse  <sgjesse@chromium.org>
     2
     3        Reviewed by Tony Chang.
     4
     5        Added support for the DumpRenderTree flags --multiple-loads and --js-flags to the Python test runner.
     6        https://bugs.webkit.org/show_bug.cgi?id=48236
     7
     8        * Scripts/webkitpy/layout_tests/port/chromium.py:
     9        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
     10
    1112010-10-28  Sergio Villar Senin  <svillar@igalia.com>
    212
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py

    r70277 r70789  
    386386            driver_args.append('--gp-fault-error-box')
    387387
     388        if self._options.js_flags is not None:
     389            driver_args.append('--js-flags="' + self._options.js_flags + '"')
     390
     391        if self._options.multiple_loads is not None and self._options.multiple_loads > 0:
     392            driver_args.append('--multiple-loads=' + str(self._options.multiple_loads))
     393
    388394        if self._port.get_option('accelerated_compositing'):
    389395            driver_args.append('--enable-accelerated-compositing')
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

    r70782 r70789  
    15141514        optparse.make_option("--gp-fault-error-box", action="store_true",
    15151515            default=False, help="enable Windows GP fault error box"),
     1516        optparse.make_option("--multiple-loads",
     1517            type="int", help="turn on multiple loads of each test"),
     1518        optparse.make_option("--js-flags",
     1519            type="string", help="JavaScript flags to pass to tests"),
    15161520        optparse.make_option("--nocheck-sys-deps", action="store_true",
    15171521            default=False,
Note: See TracChangeset for help on using the changeset viewer.