WebKit Bugzilla
Attachment 357498 Details for
Bug 192786
: webkitpy: Ignore device type for test when using --force
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-192786-20181217163745.patch (text/plain), 2.54 KB, created by
Jonathan Bedard
on 2018-12-17 16:37:46 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jonathan Bedard
Created:
2018-12-17 16:37:46 PST
Size:
2.54 KB
patch
obsolete
>Index: Tools/ChangeLog >=================================================================== >--- Tools/ChangeLog (revision 239303) >+++ Tools/ChangeLog (working copy) >@@ -1,3 +1,16 @@ >+2018-12-17 Jonathan Bedard <jbedard@apple.com> >+ >+ webkitpy: Ignore device type for test when using --force >+ https://bugs.webkit.org/show_bug.cgi?id=192786 >+ <rdar://problem/46794894> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * Scripts/webkitpy/layout_tests/run_webkit_tests.py: >+ (parse_args): >+ * Scripts/webkitpy/port/device_port.py: >+ (DevicePort.default_child_processes): Strip device type information when using --force. >+ > 2018-12-17 Jonathan Bedard <jbedard@apple.com> > > webkitpy: Handle case where stdout and stderr don't accept unicode >Index: Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py >=================================================================== >--- Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py (revision 239303) >+++ Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py (working copy) >@@ -241,7 +241,8 @@ def parse_args(args): > "'only' == only run the SKIP tests, " > "'always' == always skip, even if listed on the command line.")), > optparse.make_option("--force", action="store_true", default=False, >- help="Run all tests with PASS as expected result, even those marked SKIP in the test list (implies --skipped=ignore)"), >+ help="Run all tests with PASS as expected result, even those marked SKIP in the test list and run tests " + \ >+ "on available devices, even if the device type does not match (implies --skipped=ignore)"), > optparse.make_option("--time-out-ms", > help="Set the timeout for each test"), > optparse.make_option("--order", action="store", default="natural", >Index: Tools/Scripts/webkitpy/port/device_port.py >=================================================================== >--- Tools/Scripts/webkitpy/port/device_port.py (revision 239303) >+++ Tools/Scripts/webkitpy/port/device_port.py (working copy) >@@ -123,6 +123,10 @@ class DevicePort(DarwinPort): > if device_type.software_variant and self.DEFAULT_DEVICE_TYPE.software_variant != device_type.software_variant: > return 0 > >+ if self.get_option('force'): >+ device_type.hardware_family = None >+ device_type.hardware_type = None >+ > return self.DEVICE_MANAGER.device_count_for_type( > self._device_type_with_version(device_type), > host=self.host,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 192786
:
357498
|
357502
|
357583