OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from gpu_tests.gpu_test_expectations import GpuTestExpectations | 5 from gpu_tests.gpu_test_expectations import GpuTestExpectations |
6 | 6 |
7 # See the GpuTestExpectations class for documentation. | 7 # See the GpuTestExpectations class for documentation. |
8 | 8 |
9 class PixelExpectations(GpuTestExpectations): | 9 class PixelExpectations(GpuTestExpectations): |
10 def SetExpectations(self): | 10 def SetExpectations(self): |
11 # Sample Usage: | 11 # Sample Usage: |
12 # self.Fail('Pixel_Canvas2DRedBox', | 12 # self.Fail('Pixel_Canvas2DRedBox', |
13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) | 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) |
14 | 14 |
15 # Seems to be flaky on the new AMD R7 240 drivers. | 15 # Seems to be flaky on the new AMD R7 240 drivers. |
16 self.Flaky('Pixel_GpuRasterization_BlueBox', | 16 self.Flaky('Pixel_GpuRasterization_BlueBox', |
17 ['win', ('amd', 0x6613)], bug=653538) | 17 ['win', ('amd', 0x6613)], bug=653538) |
18 | 18 |
19 # Software compositing is not supported on Android; so we skip these tests | 19 # Software compositing is not supported on Android; so we skip these tests |
20 # that disables gpu compositing on Android platforms. | 20 # that disables gpu compositing on Android platforms. |
21 self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android']) | 21 self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android']) |
22 self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android']) | 22 self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android']) |
23 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositing', ['android']) | 23 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositing', ['android']) |
24 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker', | 24 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker', |
25 ['android']) | 25 ['android']) |
26 self.Skip('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['android']) | 26 self.Skip('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['android']) |
27 | 27 |
28 # TODO(xlai) check / generate reference images for newly updated tests | |
29 self.Fail('Pixel_OffscreenCanvasUnaccelerated2D', bug=697582) | |
30 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DWorker', bug=697582) | |
31 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositing', bug=697582) | |
32 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', | |
33 bug=697582) | |
34 self.Fail('Pixel_OffscreenCanvasAccelerated2D', bug=697582) | |
35 self.Fail('Pixel_OffscreenCanvasAccelerated2DWorker', bug=697582) | |
36 self.Fail('Pixel_OffscreenCanvasWebGLDefault', bug=697582) | |
37 self.Fail('Pixel_OffscreenCanvasWebGLDefaultWorker', bug=697582) | |
38 self.Fail('Pixel_OffscreenCanvasWebGLSoftwareCompositing', bug=697582) | |
39 self.Fail('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker', bug=697582) | |
40 | |
41 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', | 28 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', |
42 ['android'], bug=521588) | 29 ['android'], bug=521588) |
43 | 30 |
44 # TODO(ccameron) fix these on Mac Retina | 31 # TODO(ccameron) fix these on Mac Retina |
45 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) | 32 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) |
46 | 33 |
47 # TODO(vmiura) check / generate reference images for Android devices | 34 # TODO(vmiura) check / generate reference images for Android devices |
48 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) | 35 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) |
49 | 36 |
50 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', | 37 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', |
51 ['mac', ('nvidia', 0xfe9)], bug=706016) | 38 ['mac', ('nvidia', 0xfe9)], bug=706016) |
52 self.Fail('Pixel_CSSFilterEffects', | 39 self.Fail('Pixel_CSSFilterEffects', |
53 ['mac', ('nvidia', 0xfe9)], bug=690277) | 40 ['mac', ('nvidia', 0xfe9)], bug=690277) |
54 | 41 |
55 # TODO(kbr): flakily timing out on this configuration. | 42 # TODO(kbr): flakily timing out on this configuration. |
56 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) | 43 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) |
57 | 44 |
58 # Flaky for unknown reasons only on macOS. Not planning to investigate | 45 # Flaky for unknown reasons only on macOS. Not planning to investigate |
59 # further. | 46 # further. |
60 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'], | 47 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'], |
61 bug=660461) | 48 bug=660461) |
62 | 49 |
63 self.Flaky('Pixel_OffscreenCanvas2DResizeOnWorker', | 50 self.Flaky('Pixel_OffscreenCanvas2DResizeOnWorker', |
64 ['win10', ('intel', 0x1912)], bug=690663) | 51 ['win10', ('intel', 0x1912)], bug=690663) |
OLD | NEW |