Changeset 239344 in webkit
- Timestamp:
- Dec 18, 2018 11:42:55 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r239339 r239344 1 2018-12-18 Jonathan Bedard <jbedard@apple.com> 2 3 webkitpy: Ignore device type for test when using --force 4 https://bugs.webkit.org/show_bug.cgi?id=192786 5 <rdar://problem/46794894> 6 7 Reviewed by Daniel Bates. 8 9 It is sometimes the case that a contributor will wish to run a test on a specific device, 10 despite expectations which indicate a test should not be run on that device. 11 12 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 13 (parse_args): 14 * Scripts/webkitpy/port/device_port.py: 15 (DevicePort.default_child_processes): Strip device type information when using --force. 16 (DevicePort.setup_test_run): Only allow incomplete match when using --force. 17 1 18 2018-12-18 Alex Christensen <achristensen@webkit.org> 2 19 -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r238950 r239344 242 242 "'always' == always skip, even if listed on the command line.")), 243 243 optparse.make_option("--force", action="store_true", default=False, 244 help="Run all tests with PASS as expected result, even those marked SKIP in the test list (implies --skipped=ignore)"), 244 help="Run all tests with PASS as expected result, even those marked SKIP in the test list or " + \ 245 "those which are device-specific (implies --skipped=ignore)"), 245 246 optparse.make_option("--time-out-ms", 246 247 help="Set the timeout for each test"), -
trunk/Tools/Scripts/webkitpy/port/device_port.py
r238966 r239344 124 124 return 0 125 125 126 if self.get_option('force'): 127 device_type.hardware_family = None 128 device_type.hardware_type = None 129 126 130 return self.DEVICE_MANAGER.device_count_for_type( 127 131 self._device_type_with_version(device_type), … … 147 151 use_booted_simulator=not self.get_option('dedicated_simulators', False), 148 152 use_existing_simulator=False, 149 allow_incomplete_match= True,153 allow_incomplete_match=self.get_option('force'), 150 154 ) 151 155 self.DEVICE_MANAGER.initialize_devices(
Note: See TracChangeset
for help on using the changeset viewer.