Title: [138382] trunk
- Revision
- 138382
- Author
- [email protected]
- Date
- 2012-12-21 08:45:56 -0800 (Fri, 21 Dec 2012)
Log Message
[GTK] Add WebKit1-specific TestExpectations file
https://bugs.webkit.org/show_bug.cgi?id=97562
Reviewed by Dirk Pranke.
Tools:
Implement the expectations_files method inside the GtkPort class that
returns the list of the TestExpectations files the current test configuration
requires. The method is implemented in a similar way as on the EFL port.
A unit test is also added.
* Scripts/webkitpy/layout_tests/port/gtk.py:
(GtkPort._search_paths):
(GtkPort):
(GtkPort.expectations_files):
* Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(GtkPortTest.test_expectations_files):
LayoutTests:
Add properly formatted but currently empty TestExpectations file
for GTK WebKit1-specific test expectations.
* platform/gtk-wk1/TestExpectations: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (138381 => 138382)
--- trunk/LayoutTests/ChangeLog 2012-12-21 16:36:22 UTC (rev 138381)
+++ trunk/LayoutTests/ChangeLog 2012-12-21 16:45:56 UTC (rev 138382)
@@ -1,3 +1,15 @@
+2012-12-21 Zan Dobersek <[email protected]>
+
+ [GTK] Add WebKit1-specific TestExpectations file
+ https://bugs.webkit.org/show_bug.cgi?id=97562
+
+ Reviewed by Dirk Pranke.
+
+ Add properly formatted but currently empty TestExpectations file
+ for GTK WebKit1-specific test expectations.
+
+ * platform/gtk-wk1/TestExpectations: Added.
+
2012-12-21 Alexei Svitkine <[email protected]>
[Chromium/Mac] Don't send an onclick event from a ctrl-click
Added: trunk/LayoutTests/platform/gtk-wk1/TestExpectations (0 => 138382)
--- trunk/LayoutTests/platform/gtk-wk1/TestExpectations (rev 0)
+++ trunk/LayoutTests/platform/gtk-wk1/TestExpectations 2012-12-21 16:45:56 UTC (rev 138382)
@@ -0,0 +1,102 @@
+# These are the layout test expectations for the WK1 GTK port of WebKit.
+#
+# See http://trac.webkit.org/wiki/TestExpectations for more information on this file.
+
+# This list is divided into several sections to make it easy for us to triage and close issues.
+# 1. TESTS THAT REQUIRE NEW RESULTS
+# Please don't add any tests to this list. Instead just ping a GTK+ developer
+# to generate results for you.
+
+# 2. EXPECTED FAILURES
+# This list is divided into two parts:
+# a. Tests that we never expect to pass, because they use features we likely
+# will never implement (Mac-only features, for instance).
+# b. Missing WebCore/WebKit features that we'll want someday.
+
+# 3. TESTS CRASHING
+# Please open a bug for each test crashing with any important information.
+# These are in a separate section than failing tests, because they should be
+# priority fixes.
+
+# 4. FLAKY TESTS
+# When appropriate, open a bug for flaky tests with the test diff and information
+# about which bots the test fails on.
+
+# 5. SLOW TESTS
+# These tests are assigned the SLOW modifier to prevent them timing out as they
+# otherwise pass, but take a long time to complete due to the nature of test,
+# debug configuration or some other performance-affecting factor.
+
+# 6. TESTS TIMING OUT
+# Please open a bug for each test timing out with any important information.
+
+# 7. TESTS WITH ARCHITECTURE-SPECIFIC RESULTS
+# Tests with different results (of which at least one is failure) on 32-bit and 64-bit builders.
+# These tests are essentially marked as flaky, but are noted as failing only on specific architecture.
+
+# 8. TESTS FAILING
+# Each test should (eventually) have a bug. Missing DRT features also go here.
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# Tests that require new results.
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# End of Tests that require new results.
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# Expected failures
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# End of Expected failures
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# Crashing tests
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# End of Crashing tests
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# Flaky tests
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# End of Flaky tests
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# Slow tests
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# End of slow tests
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# Tests timing out
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# End of Tests timing out
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# Tests with architecture-specific results
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# End of tests with architecture-specific results
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# Tests failing
+#////////////////////////////////////////////////////////////////////////////////////////
+
+#////////////////////////////////////////////////////////////////////////////////////////
+# End of Tests failing
+#////////////////////////////////////////////////////////////////////////////////////////
Modified: trunk/Tools/ChangeLog (138381 => 138382)
--- trunk/Tools/ChangeLog 2012-12-21 16:36:22 UTC (rev 138381)
+++ trunk/Tools/ChangeLog 2012-12-21 16:45:56 UTC (rev 138382)
@@ -1,3 +1,22 @@
+2012-12-21 Zan Dobersek <[email protected]>
+
+ [GTK] Add WebKit1-specific TestExpectations file
+ https://bugs.webkit.org/show_bug.cgi?id=97562
+
+ Reviewed by Dirk Pranke.
+
+ Implement the expectations_files method inside the GtkPort class that
+ returns the list of the TestExpectations files the current test configuration
+ requires. The method is implemented in a similar way as on the EFL port.
+ A unit test is also added.
+
+ * Scripts/webkitpy/layout_tests/port/gtk.py:
+ (GtkPort._search_paths):
+ (GtkPort):
+ (GtkPort.expectations_files):
+ * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
+ (GtkPortTest.test_expectations_files):
+
2012-12-21 Sudarsana Nagineni <[email protected]>
[EFL] Enable feature option for the CSS sticky position
Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py (138381 => 138382)
--- trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py 2012-12-21 16:36:22 UTC (rev 138381)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py 2012-12-21 16:45:56 UTC (rev 138382)
@@ -100,6 +100,19 @@
return full_library
return None
+ def _search_paths(self):
+ search_paths = []
+ if self.get_option('webkit_test_runner'):
+ search_paths.extend([self.port_name + '-wk2', 'wk2'])
+ else:
+ search_paths.append(self.port_name + '-wk1')
+ search_paths.append(self.port_name)
+ search_paths.extend(self.get_option("additional_platform_directory", []))
+ return search_paths
+
+ def expectations_files(self):
+ return [self._filesystem.join(self._webkit_baseline_path(p), 'TestExpectations') for p in reversed(self._search_paths())]
+
# FIXME: We should find a way to share this implmentation with Gtk,
# or teach run-launcher how to call run-safari and move this down to Port.
def show_results_html_file(self, results_filename):
Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py (138381 => 138382)
--- trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py 2012-12-21 16:36:22 UTC (rev 138381)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py 2012-12-21 16:45:56 UTC (rev 138382)
@@ -43,6 +43,13 @@
port_name = 'gtk'
port_maker = GtkPort
+ def test_expectations_files(self):
+ port = self.make_port()
+ self.assertEquals(port.expectations_files(), ['/mock-checkout/LayoutTests/platform/gtk/TestExpectations', '/mock-checkout/LayoutTests/platform/gtk-wk1/TestExpectations'])
+
+ port = self.make_port(options=MockOptions(webkit_test_runner=True))
+ self.assertEquals(port.expectations_files(), ['/mock-checkout/LayoutTests/platform/gtk/TestExpectations', '/mock-checkout/LayoutTests/platform/wk2/TestExpectations', '/mock-checkout/LayoutTests/platform/gtk-wk2/TestExpectations'])
+
def test_show_results_html_file(self):
port = self.make_port()
port._executive = MockExecutive(should_log=True)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes