Title: [293447] trunk
Revision
293447
Author
[email protected]
Date
2022-04-26 14:22:28 -0700 (Tue, 26 Apr 2022)

Log Message

[ iOS EWS ] css3/background/background-repeat-round-auto2.html is a image failure
https://bugs.webkit.org/show_bug.cgi?id=238965
<rdar://91454381>

Reviewed by Tim Horton.

Generic shaders can produce slightly different results to optimized shaders, and
get swapped in racily, so disable them for testing on platforms where accelerated
drawing is used.

Tools:

* Scripts/webkitpy/port/base.py:
(Port.port_adjust_environment_for_test_driver):
* Scripts/webkitpy/port/driver.py:
(Driver._setup_environ_for_driver):
* Scripts/webkitpy/port/ios.py:
(IOSPort.test_expectations_file_position):
(IOSPort):
(IOSPort.port_adjust_environment_for_test_driver):
* Scripts/webkitpy/port/mac.py:
(MacPort.port_adjust_environment_for_test_driver):

LayoutTests:

* platform/ios-wk2/TestExpectations:
* platform/ios/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (293446 => 293447)


--- trunk/LayoutTests/ChangeLog	2022-04-26 20:02:21 UTC (rev 293446)
+++ trunk/LayoutTests/ChangeLog	2022-04-26 21:22:28 UTC (rev 293447)
@@ -1,5 +1,20 @@
 2022-04-26  Simon Fraser  <[email protected]>
 
+        [ iOS EWS ] css3/background/background-repeat-round-auto2.html is a image failure
+        https://bugs.webkit.org/show_bug.cgi?id=238965
+        <rdar://91454381>
+
+        Reviewed by Tim Horton.
+
+        Generic shaders can produce slightly different results to optimized shaders, and
+        get swapped in racily, so disable them for testing on platforms where accelerated
+        drawing is used.
+
+        * platform/ios-wk2/TestExpectations:
+        * platform/ios/TestExpectations:
+
+2022-04-26  Simon Fraser  <[email protected]>
+
         Save a few drawing operations when painting layer contents
         https://bugs.webkit.org/show_bug.cgi?id=239756
 

Modified: trunk/LayoutTests/platform/ios/TestExpectations (293446 => 293447)


--- trunk/LayoutTests/platform/ios/TestExpectations	2022-04-26 20:02:21 UTC (rev 293446)
+++ trunk/LayoutTests/platform/ios/TestExpectations	2022-04-26 21:22:28 UTC (rev 293447)
@@ -3568,8 +3568,6 @@
 
 webkit.org/b/238771 media/video-played-ranges-1.html [ Pass Failure ]
 
-webkit.org/b/238781 css3/background/background-repeat-round-auto1.html [ Pass ImageOnlyFailure ]
-
 webkit.org/b/237159 imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-049.html [ Pass Crash ]
 
 webkit.org/b/237108 http/tests/websocket/tests/hybi/extensions.html [ Pass ]

Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (293446 => 293447)


--- trunk/LayoutTests/platform/ios-wk2/TestExpectations	2022-04-26 20:02:21 UTC (rev 293446)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations	2022-04-26 21:22:28 UTC (rev 293447)
@@ -2180,9 +2180,6 @@
 # This test is currently failing on EWS
 webkit.org/b/238954 imported/w3c/web-platform-tests/css/selectors/invalidation/user-action-pseudo-classes-in-has.html [ Pass Failure ]
 
-# This failure is only happening on EWS
-webkit.org/b/238965 css3/background/background-repeat-round-auto2.html [ Pass ImageOnlyFailure ]
-
 webkit.org/b/231780 [ Debug ] imported/w3c/web-platform-tests/webrtc/simulcast/basic.https.html [ Pass Failure ]
 
 webkit.org/b/232099 imported/w3c/web-platform-tests/websockets/Close-1000.any.html [ Pass Crash ]

Modified: trunk/Tools/ChangeLog (293446 => 293447)


--- trunk/Tools/ChangeLog	2022-04-26 20:02:21 UTC (rev 293446)
+++ trunk/Tools/ChangeLog	2022-04-26 21:22:28 UTC (rev 293447)
@@ -1,3 +1,26 @@
+2022-04-26  Simon Fraser  <[email protected]>
+
+        [ iOS EWS ] css3/background/background-repeat-round-auto2.html is a image failure
+        https://bugs.webkit.org/show_bug.cgi?id=238965
+        <rdar://91454381>
+
+        Reviewed by Tim Horton.
+
+        Generic shaders can produce slightly different results to optimized shaders, and
+        get swapped in racily, so disable them for testing on platforms where accelerated
+        drawing is used.
+
+        * Scripts/webkitpy/port/base.py:
+        (Port.port_adjust_environment_for_test_driver):
+        * Scripts/webkitpy/port/driver.py:
+        (Driver._setup_environ_for_driver):
+        * Scripts/webkitpy/port/ios.py:
+        (IOSPort.test_expectations_file_position):
+        (IOSPort):
+        (IOSPort.port_adjust_environment_for_test_driver):
+        * Scripts/webkitpy/port/mac.py:
+        (MacPort.port_adjust_environment_for_test_driver):
+
 2022-04-26  Jonathan Bedard  <[email protected]>
 
         [webkit-patch] Use Commit-Queue when landing by default

Modified: trunk/Tools/Scripts/webkitpy/port/base.py (293446 => 293447)


--- trunk/Tools/Scripts/webkitpy/port/base.py	2022-04-26 20:02:21 UTC (rev 293446)
+++ trunk/Tools/Scripts/webkitpy/port/base.py	2022-04-26 21:22:28 UTC (rev 293447)
@@ -786,6 +786,9 @@
         if name in os.environ:
             clean_env[name] = os.environ[name]
 
+    def port_adjust_environment_for_test_driver(self, env):
+        return env
+
     def setup_environ_for_server(self, server_name=None):
         # We intentionally copy only a subset of os.environ when
         # launching subprocesses to ensure consistent test results.

Modified: trunk/Tools/Scripts/webkitpy/port/driver.py (293446 => 293447)


--- trunk/Tools/Scripts/webkitpy/port/driver.py	2022-04-26 20:02:21 UTC (rev 293446)
+++ trunk/Tools/Scripts/webkitpy/port/driver.py	2022-04-26 21:22:28 UTC (rev 293447)
@@ -437,6 +437,9 @@
         self._append_environment_variable_path(environment, '__XPC_DYLD_LIBRARY_PATH', build_root_path)
         self._append_environment_variable_path(environment, 'DYLD_FRAMEWORK_PATH', build_root_path)
         self._append_environment_variable_path(environment, '__XPC_DYLD_FRAMEWORK_PATH', build_root_path)
+
+        self._port.port_adjust_environment_for_test_driver(environment)
+
         # Use an isolated temp directory that can be deleted after testing (especially important on Mac, as
         # CoreMedia disk cache is in the temp directory).
         environment['TMPDIR'] = str(self._driver_tempdir)

Modified: trunk/Tools/Scripts/webkitpy/port/ios.py (293446 => 293447)


--- trunk/Tools/Scripts/webkitpy/port/ios.py	2022-04-26 20:02:21 UTC (rev 293446)
+++ trunk/Tools/Scripts/webkitpy/port/ios.py	2022-04-26 21:22:28 UTC (rev 293447)
@@ -110,3 +110,9 @@
 
     def test_expectations_file_position(self):
         return 5
+
+    def port_adjust_environment_for_test_driver(self, env):
+        env = super(IOSPort, self).port_adjust_environment_for_test_driver(env)
+        env['CA_DISABLE_GENERIC_SHADERS'] = '1'
+        env['__XPC_CA_DISABLE_GENERIC_SHADERS'] = '1'
+        return env

Modified: trunk/Tools/Scripts/webkitpy/port/mac.py (293446 => 293447)


--- trunk/Tools/Scripts/webkitpy/port/mac.py	2022-04-26 20:02:21 UTC (rev 293446)
+++ trunk/Tools/Scripts/webkitpy/port/mac.py	2022-04-26 21:22:28 UTC (rev 293447)
@@ -188,6 +188,12 @@
         env['XML_CATALOG_FILES'] = ''  # work around missing /etc/catalog <rdar://problem/4292995>
         return env
 
+    def port_adjust_environment_for_test_driver(self, env):
+        env = super(MacPort, self).port_adjust_environment_for_test_driver(env)
+        env['CA_DISABLE_GENERIC_SHADERS'] = '1'
+        env['__XPC_CA_DISABLE_GENERIC_SHADERS'] = '1'
+        return env
+
     def _clear_global_caches_and_temporary_files(self):
         self._filesystem.rmtree(os.path.expanduser('~/Library/' + self.driver_name()))
         self._filesystem.rmtree(os.path.expanduser('~/Library/Application Support/' + self.driver_name()))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to