Changeset 261383 in webkit
- Timestamp:
- May 8, 2020 8:21:57 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r261382 r261383 1 2020-05-08 Lauro Moura <lmoura@igalia.com> 2 3 [GTK][WPE] Create common glib expectation file 4 https://bugs.webkit.org/show_bug.cgi?id=211183 5 6 Reviewed by Carlos Garcia Campos. 7 8 * platform/glib/TestExpectations: Added. 9 1 10 2020-05-08 Simon Fraser <simon.fraser@apple.com> 2 11 -
trunk/Tools/ChangeLog
r261374 r261383 1 2020-05-08 Lauro Moura <lmoura@igalia.com> 2 3 [GTK][WPE] Create common glib expectation file 4 https://bugs.webkit.org/show_bug.cgi?id=211183 5 6 Reviewed by Carlos Garcia Campos. 7 8 * Scripts/webkitpy/port/gtk.py: 9 (GtkPort._search_paths): Add glib to expectations search path 10 (GtkPort.test_expectations_file_position): Update test 11 * Scripts/webkitpy/port/gtk_unittest.py: 12 (GtkPortTest.test_default_baseline_search_path): Update test 13 (GtkPortTest.test_port_specific_expectations_files): Update test and 14 make check-webkit-style happier 15 * Scripts/webkitpy/port/wpe.py: 16 (WPEPort._search_paths): Add glib to expectations search path 17 (WPEPort.test_expectations_file_position): Update test 18 * Scripts/webkitpy/port/wpe_unittest.py: 19 (WPEPortTest.test_default_baseline_search_path): Update test 20 (WPEPortTest.test_port_specific_expectations_files): Update test and 21 make check-webkit-style happier 22 1 23 2020-05-08 Paulo Matos <pmatos@igalia.com> 2 24 -
trunk/Tools/Scripts/webkitpy/port/gtk.py
r261078 r261383 210 210 search_paths.append(self.port_name + "-wayland") 211 211 search_paths.append(self.port_name) 212 search_paths.append('glib') 212 213 search_paths.append('wk2') 213 214 search_paths.extend(self.get_option("additional_platform_directory", [])) … … 241 242 242 243 def test_expectations_file_position(self): 243 # GTK port baseline search path is gtk -> wk2 -> generic (as gtk-wk2 and gtk baselines are merged), so port test expectations file is at third to last position.244 return 2244 # GTK port baseline search path is gtk -> glib -> wk2 -> generic (as gtk-wk2 and gtk baselines are merged), so port test expectations file is at third to last position. 245 return 3 245 246 246 247 def build_webkit_command(self, build_style=None): -
trunk/Tools/Scripts/webkitpy/port/gtk_unittest.py
r251661 r261383 54 54 def test_default_baseline_search_path(self): 55 55 port = self.make_port() 56 self.assertEqual(port.default_baseline_search_path(), ['/mock-checkout/LayoutTests/platform/gtk', 57 '/mock-checkout/LayoutTests/platform/wk2']) 56 self.assertEqual(port.default_baseline_search_path(), 57 ['/mock-checkout/LayoutTests/platform/gtk', 58 '/mock-checkout/LayoutTests/platform/glib', 59 '/mock-checkout/LayoutTests/platform/wk2']) 58 60 59 61 def test_port_specific_expectations_files(self): 60 62 port = self.make_port() 61 self.assertEqual(port.expectations_files(), ['/mock-checkout/LayoutTests/TestExpectations', 62 '/mock-checkout/LayoutTests/platform/wk2/TestExpectations', 63 '/mock-checkout/LayoutTests/platform/gtk/TestExpectations']) 63 self.assertEqual(port.expectations_files(), 64 ['/mock-checkout/LayoutTests/TestExpectations', 65 '/mock-checkout/LayoutTests/platform/wk2/TestExpectations', 66 '/mock-checkout/LayoutTests/platform/glib/TestExpectations', 67 '/mock-checkout/LayoutTests/platform/gtk/TestExpectations']) 64 68 65 69 def test_show_results_html_file(self): -
trunk/Tools/Scripts/webkitpy/port/wpe.py
r260947 r261383 112 112 113 113 def _search_paths(self): 114 return [self.port_name, ' wk2'] + self.get_option("additional_platform_directory", [])114 return [self.port_name, 'glib', 'wk2'] + self.get_option("additional_platform_directory", []) 115 115 116 116 def default_baseline_search_path(self, **kwargs): … … 121 121 122 122 def test_expectations_file_position(self): 123 # WPE port baseline search path is wpe -> wk2 -> generic, so port test expectations file is at third to last position.124 return 2123 # WPE port baseline search path is wpe -> glib -> wk2 -> generic, so port test expectations file is at third to last position. 124 return 3 125 125 126 126 def _get_crash_log(self, name, pid, stdout, stderr, newer_than, target_host=None): -
trunk/Tools/Scripts/webkitpy/port/wpe_unittest.py
r251661 r261383 55 55 def test_default_baseline_search_path(self): 56 56 port = self.make_port() 57 self.assertEqual(port.default_baseline_search_path(), ['/mock-checkout/LayoutTests/platform/wpe', 58 '/mock-checkout/LayoutTests/platform/wk2']) 57 self.assertEqual(port.default_baseline_search_path(), 58 ['/mock-checkout/LayoutTests/platform/wpe', 59 '/mock-checkout/LayoutTests/platform/glib', 60 '/mock-checkout/LayoutTests/platform/wk2']) 59 61 60 62 def test_port_specific_expectations_files(self): 61 63 port = self.make_port() 62 self.assertEqual(port.expectations_files(), ['/mock-checkout/LayoutTests/TestExpectations', 63 '/mock-checkout/LayoutTests/platform/wk2/TestExpectations', 64 '/mock-checkout/LayoutTests/platform/wpe/TestExpectations']) 64 self.assertEqual(port.expectations_files(), 65 ['/mock-checkout/LayoutTests/TestExpectations', 66 '/mock-checkout/LayoutTests/platform/wk2/TestExpectations', 67 '/mock-checkout/LayoutTests/platform/glib/TestExpectations', 68 '/mock-checkout/LayoutTests/platform/wpe/TestExpectations']) 65 69 66 70 def test_default_timeout_ms(self):
Note: See TracChangeset
for help on using the changeset viewer.