Changeset 116662 in webkit
- Timestamp:
- May 10, 2012 11:15:04 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r116639 r116662 1 2012-05-10 Raphael Kubo da Costa <rakuco@webkit.org> 2 3 [EFL][webkitpy] Define the 'wrapper' option in EflPort instead of creating a EflDriver. 4 https://bugs.webkit.org/show_bug.cgi?id=86117 5 6 Reviewed by Adam Barth. 7 8 Simplify the code used to wrap driver calls with jhbuild: we can 9 just define the 'wrapper' option instead of having to create a 10 Driver class just for that. 11 12 * Scripts/webkitpy/layout_tests/port/efl.py: 13 (EflPort.__init__): 14 (EflPort._port_flag_for_scripts): 15 1 16 2012-05-10 Sheriff Bot <webkit.review.bot@gmail.com> 2 17 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/efl.py
r115478 r116662 33 33 34 34 from webkitpy.layout_tests.models.test_configuration import TestConfiguration 35 from webkitpy.layout_tests.port.webkit import WebKit Driver, WebKitPort35 from webkitpy.layout_tests.port.webkit import WebKitPort 36 36 from webkitpy.layout_tests.port.pulseaudio_sanitizer import PulseAudioSanitizer 37 38 39 class EflDriver(WebKitDriver):40 def cmd_line(self, pixel_tests, per_test_args):41 wrapper_path = self._port.path_from_webkit_base("Tools", "efl", "run-with-jhbuild")42 return [wrapper_path] + WebKitDriver.cmd_line(self, pixel_tests, per_test_args)43 37 44 38 … … 46 40 port_name = 'efl' 47 41 42 def __init__(self, *args, **kwargs): 43 WebKitPort.__init__(self, *args, **kwargs) 44 45 self.set_option_default('wrapper', self.path_from_webkit_base('Tools', 'efl', 'run-with-jhbuild')) 46 48 47 def _port_flag_for_scripts(self): 49 48 return "--efl" 50 51 def _driver_class(self):52 return EflDriver53 49 54 50 def setup_test_run(self):
Note: See TracChangeset
for help on using the changeset viewer.