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 |
28 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', | 41 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', |
29 ['android'], bug=521588) | 42 ['android'], bug=521588) |
30 | 43 |
31 # TODO(ccameron) fix these on Mac Retina | 44 # TODO(ccameron) fix these on Mac Retina |
32 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) | 45 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) |
33 | 46 |
34 # TODO(vmiura) check / generate reference images for Android devices | 47 # TODO(vmiura) check / generate reference images for Android devices |
35 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) | 48 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) |
36 | 49 |
37 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', | 50 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', |
38 ['mac', ('nvidia', 0xfe9)], bug=652931) | 51 ['mac', ('nvidia', 0xfe9)], bug=652931) |
39 self.Fail('Pixel_CSSFilterEffects', | 52 self.Fail('Pixel_CSSFilterEffects', |
40 ['mac', ('nvidia', 0xfe9)], bug=690277) | 53 ['mac', ('nvidia', 0xfe9)], bug=690277) |
41 | 54 |
42 # TODO(kbr): flakily timing out on this configuration. | 55 # TODO(kbr): flakily timing out on this configuration. |
43 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) | 56 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) |
44 | 57 |
45 # Flaky for unknown reasons only on macOS. Not planning to investigate | 58 # Flaky for unknown reasons only on macOS. Not planning to investigate |
46 # further. | 59 # further. |
47 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'], | 60 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'], |
48 bug=660461) | 61 bug=660461) |
49 | 62 |
50 self.Flaky('Pixel_OffscreenCanvas2DResizeOnWorker', | 63 self.Flaky('Pixel_OffscreenCanvas2DResizeOnWorker', |
51 ['win10', ('intel', 0x1912)], bug=690663) | 64 ['win10', ('intel', 0x1912)], bug=690663) |
OLD | NEW |