blob: f963a3380e3dc9e9247907a6aa3a0019c2b28ca0 [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from gpu_tests.gpu_test_expectations import GpuTestExpectations
# See the GpuTestExpectations class for documentation.
class PixelExpectations(GpuTestExpectations):
def SetExpectations(self):
# Sample Usage:
# self.Fail('Pixel_Canvas2DRedBox',
# ['mac', 'amd', ('nvidia', 0x1234)], bug=123)
# Seems to be flaky on the new AMD R7 240 drivers.
self.Flaky('Pixel_GpuRasterization_BlueBox',
['win', ('amd', 0x6613)], bug=653538)
# Software compositing is not supported on Android: we skip the tests that
# disable GPU compositing (--disable-gpu-compositing).
self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android'])
self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android'])
self.Skip('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositing', ['android'])
self.Skip('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker',
['android'])
self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositing', ['android'])
self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker',
['android'])
self.Skip('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['android'])
self.Skip('Pixel_CanvasUnacceleratedLowLatency2D', ['android'])
self.Skip('Pixel_RepeatedWebGLTo2D_SoftwareCompositing', ['android'])
# Tests running with SwiftShader are skipped on platforms where SwiftShader
# isn't supported.
self.Skip('Pixel_Canvas2DRedBox_SwiftShader',
['mac', 'android', 'chromeos'])
self.Skip('Pixel_CSS3DBlueBox_SwiftShader',
['mac', 'android', 'chromeos'])
self.Skip('Pixel_WebGLGreenTriangle_AA_Alpha_SwiftShader',
['mac', 'android', 'chromeos'])
# Tests running in no GPU process mode are skipped on platforms where GPU
# process is required.
self.Skip('Pixel_Canvas2DRedBox_NoGpuProcess', ['android', 'chromeos'])
self.Skip('Pixel_CSS3DBlueBox_NoGpuProcess', ['android', 'chromeos'])
self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer',
['android'], bug=521588)
# TODO(vmiura) check / generate reference images for Android devices
self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256)
self.Fail('Pixel_CSSFilterEffects', ['mac', ('nvidia', 0xfe9)], bug=690277)
# Became flaky on 10.13.6. When it flakes, it flakes 3 times, so
# mark failing, unfortunately.
self.Fail('Pixel_CSSFilterEffects', ['highsierra', 'amd'], bug=872423)
# TODO(kbr): flakily timing out on this configuration.
self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369)
# TODO(sunnyps): re-enable after rebaselining
# self.Flaky('Pixel_Video_MP4', ['android', 'nvidia'], bug=716564)
# self.Flaky('Pixel_Video_MP4', ['linux', 'nvidia'], bug=819635)
# TODO(sunnyps): temporarily disabling for rebaselining.
self.Fail('Pixel_Video_MP4', bug=869677)
self.Fail('Pixel_Video_VP9', bug=869677)
self.Fail('Pixel_DirectComposition_Video_MP4', bug=869677)
self.Fail('Pixel_DirectComposition_Video_VP9', bug=869677)
# Flaky for unknown reasons only on macOS. Not planning to investigate
# further.
self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'],
bug=660461)
self.Flaky('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker',
['mac', ('nvidia', 0xfe9), 'debug'], bug=751328)
# Failing on Nexus 5; haven't investigated why yet.
self.Skip('Pixel_WebGL2_BlitFramebuffer_Result_Displayed',
['android', ('qualcomm', 'Adreno (TM) 330')], bug=773293)
self.Skip('Pixel_WebGL2_ClearBufferfv_Result_Displayed',
['android', ('qualcomm', 'Adreno (TM) 330')], bug=773293)
# Failing on Mac Intel HighSierra
# TODO(sunnyps): re-enable after rebaselining.
# self.Fail('Pixel_Video_MP4',
# ['highsierra', ('intel', 0xa2e)], bug=774809)
# self.Fail('Pixel_Video_VP9',
# ['highsierra', ('intel', 0xa2e)], bug=774809)
self.Fail('Pixel_WebGLGreenTriangle_NonChromiumImage_NoAA_NoAlpha',
['highsierra', 'mojave', ('intel', 0xa2e)], bug=774809)
self.Flaky('Pixel_OffscreenCanvasTransferBeforeStyleResize',
['highsierra', ('intel', 0xa2e)], bug=857578)
# Failing on NVIDIA Shield TV; not sure why yet.
self.Fail('Pixel_WebGL_PremultipliedAlpha_False',
['android', 'nvidia'], bug=791733)
# Failing on retina Macs
self.Fail('Pixel_Canvas2DRedBox_NoGpuProcess',
['mac', ('amd', 0x6821)], bug=744658)
self.Fail('Pixel_Canvas2DRedBox_NoGpuProcess',
['mac', ('nvidia', 0xfe9)], bug=744658)
self.Fail('Pixel_CSS3DBlueBox_NoGpuProcess',
['mac', ('amd', 0x6821)], bug=744658)
self.Fail('Pixel_CSS3DBlueBox_NoGpuProcess',
['mac', ('nvidia', 0xfe9)], bug=744658)
# TODO(fserb): temporarily suppress this test.
self.Flaky('Pixel_OffscreenCanvas2DResizeOnWorker',
['linux', 'mac'], bug=840394)
# TODO(kbr): temporary suppression for new test.
self.Flaky('Pixel_WebGLSadCanvas', ['linux', 'win'], bug=575305)
self.Fail('Pixel_WebGLSadCanvas', ['mac'], bug=872423)
self.Fail('Pixel_WebGLSadCanvas', ['android'], bug=575305)
# Flaky on Android: crbug.com/860548
# TODO(sunnyps): re-enable after rebaselining.
# self.Flaky('Pixel_Video_VP9', ['android'], bug=860548)
self.Fail('Pixel_CanvasLowLatencyWebGL', ['android', 'nvidia'], bug=868596)
self.Fail('Pixel_OffscreenCanvasWebGLPaintAfterResize',
['android', 'nvidia'], bug=868596)
# Fails on Nexus 5, 6 and 6P
self.Fail('Pixel_BackgroundImage',
['android', ('qualcomm', 'Adreno (TM) 330')], bug=883500)
self.Fail('Pixel_BackgroundImage',
['android', ('qualcomm', 'Adreno (TM) 420')], bug=883500)
self.Fail('Pixel_BackgroundImage',
['android', ('qualcomm', 'Adreno (TM) 430')], bug=883500)
# Fails on android-marshmallow-arm64-rel
self.Fail('Pixel_Video_MP4_FourColors_Aspect_4x3', ['android'], bug=911898)
self.Fail('Pixel_Video_MP4_FourColors_Rot_90', ['android'], bug=911898)
self.Fail('Pixel_Video_MP4_FourColors_Rot_180', ['android'], bug=911898)
self.Fail('Pixel_Video_MP4_FourColors_Rot_270', ['android'], bug=911898)
# Fails on Mac Pro FYI Release (AMD)
self.Fail('Pixel_Video_MP4_FourColors_Aspect_4x3',
['mac', ('amd', 0x679e)], bug=911413)
self.Fail('Pixel_Video_MP4_FourColors_Rot_90',
['mac', ('amd', 0x679e)], bug=911413)
self.Fail('Pixel_Video_MP4_FourColors_Rot_180',
['mac', ('amd', 0x679e)], bug=911413)
self.Fail('Pixel_Video_MP4_FourColors_Rot_270',
['mac', ('amd', 0x679e)], bug=911413)
# Fails on Android Nexus 5
self.Fail('Pixel_CanvasLowLatency2D',
['android', ('qualcomm', 'Adreno (TM) 330')], bug=914206)