Changeset 293447 in webkit


Ignore:
Timestamp:
Apr 26, 2022, 2:22:28 PM (2 years ago)
Author:
Simon Fraser
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:
Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r293443 r293447  
     12022-04-26  Simon Fraser  <simon.fraser@apple.com>
     2
     3        [ iOS EWS ] css3/background/background-repeat-round-auto2.html is a image failure
     4        https://bugs.webkit.org/show_bug.cgi?id=238965
     5        <rdar://91454381>
     6
     7        Reviewed by Tim Horton.
     8
     9        Generic shaders can produce slightly different results to optimized shaders, and
     10        get swapped in racily, so disable them for testing on platforms where accelerated
     11        drawing is used.
     12
     13        * platform/ios-wk2/TestExpectations:
     14        * platform/ios/TestExpectations:
     15
    1162022-04-26  Simon Fraser  <simon.fraser@apple.com>
    217
  • trunk/LayoutTests/platform/ios-wk2/TestExpectations

    r293162 r293447  
    21812181webkit.org/b/238954 imported/w3c/web-platform-tests/css/selectors/invalidation/user-action-pseudo-classes-in-has.html [ Pass Failure ]
    21822182
    2183 # This failure is only happening on EWS
    2184 webkit.org/b/238965 css3/background/background-repeat-round-auto2.html [ Pass ImageOnlyFailure ]
    2185 
    21862183webkit.org/b/231780 [ Debug ] imported/w3c/web-platform-tests/webrtc/simulcast/basic.https.html [ Pass Failure ]
    21872184
  • trunk/LayoutTests/platform/ios/TestExpectations

    r293193 r293447  
    35693569webkit.org/b/238771 media/video-played-ranges-1.html [ Pass Failure ]
    35703570
    3571 webkit.org/b/238781 css3/background/background-repeat-round-auto1.html [ Pass ImageOnlyFailure ]
    3572 
    35733571webkit.org/b/237159 imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-049.html [ Pass Crash ]
    35743572
  • trunk/Tools/ChangeLog

    r293446 r293447  
     12022-04-26  Simon Fraser  <simon.fraser@apple.com>
     2
     3        [ iOS EWS ] css3/background/background-repeat-round-auto2.html is a image failure
     4        https://bugs.webkit.org/show_bug.cgi?id=238965
     5        <rdar://91454381>
     6
     7        Reviewed by Tim Horton.
     8
     9        Generic shaders can produce slightly different results to optimized shaders, and
     10        get swapped in racily, so disable them for testing on platforms where accelerated
     11        drawing is used.
     12
     13        * Scripts/webkitpy/port/base.py:
     14        (Port.port_adjust_environment_for_test_driver):
     15        * Scripts/webkitpy/port/driver.py:
     16        (Driver._setup_environ_for_driver):
     17        * Scripts/webkitpy/port/ios.py:
     18        (IOSPort.test_expectations_file_position):
     19        (IOSPort):
     20        (IOSPort.port_adjust_environment_for_test_driver):
     21        * Scripts/webkitpy/port/mac.py:
     22        (MacPort.port_adjust_environment_for_test_driver):
     23
    1242022-04-26  Jonathan Bedard  <jbedard@apple.com>
    225
  • trunk/Tools/Scripts/webkitpy/port/base.py

    r292308 r293447  
    787787            clean_env[name] = os.environ[name]
    788788
     789    def port_adjust_environment_for_test_driver(self, env):
     790        return env
     791
    789792    def setup_environ_for_server(self, server_name=None):
    790793        # We intentionally copy only a subset of os.environ when
  • trunk/Tools/Scripts/webkitpy/port/driver.py

    r285168 r293447  
    438438        self._append_environment_variable_path(environment, 'DYLD_FRAMEWORK_PATH', build_root_path)
    439439        self._append_environment_variable_path(environment, '__XPC_DYLD_FRAMEWORK_PATH', build_root_path)
     440
     441        self._port.port_adjust_environment_for_test_driver(environment)
     442
    440443        # Use an isolated temp directory that can be deleted after testing (especially important on Mac, as
    441444        # CoreMedia disk cache is in the temp directory).
  • trunk/Tools/Scripts/webkitpy/port/ios.py

    r280246 r293447  
    111111    def test_expectations_file_position(self):
    112112        return 5
     113
     114    def port_adjust_environment_for_test_driver(self, env):
     115        env = super(IOSPort, self).port_adjust_environment_for_test_driver(env)
     116        env['CA_DISABLE_GENERIC_SHADERS'] = '1'
     117        env['__XPC_CA_DISABLE_GENERIC_SHADERS'] = '1'
     118        return env
  • trunk/Tools/Scripts/webkitpy/port/mac.py

    r291302 r293447  
    189189        return env
    190190
     191    def port_adjust_environment_for_test_driver(self, env):
     192        env = super(MacPort, self).port_adjust_environment_for_test_driver(env)
     193        env['CA_DISABLE_GENERIC_SHADERS'] = '1'
     194        env['__XPC_CA_DISABLE_GENERIC_SHADERS'] = '1'
     195        return env
     196
    191197    def _clear_global_caches_and_temporary_files(self):
    192198        self._filesystem.rmtree(os.path.expanduser('~/Library/' + self.driver_name()))
Note: See TracChangeset for help on using the changeset viewer.