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 # Software compositing is not supported on Android; so we skip these tests | 15 # Software compositing is not supported on Android; so we skip these tests |
16 # that disables gpu compositing on Android platforms. | 16 # that disables gpu compositing on Android platforms. |
17 self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android']) | 17 self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android']) |
18 self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android']) | 18 self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android']) |
19 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositing', ['android']) | 19 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositing', ['android']) |
20 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker', | 20 self.Skip('Pixel_OffscreenCanvasWebGLSoftwareCompositingWorker', |
21 ['android']) | 21 ['android']) |
22 self.Skip('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['android']) | 22 self.Skip('Pixel_CanvasDisplayLinearRGBUnaccelerated2D', ['android']) |
23 | 23 |
24 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', | 24 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', |
25 ['android'], bug=521588) | 25 ['android'], bug=521588) |
26 | 26 |
| 27 # TODO(xlai): Check / generate reference images. |
| 28 self.Fail('Pixel_OffscreenCanvas2DResizeOnWorker', bug=662498) |
| 29 self.Fail('Pixel_OffscreenCanvasWebglResizeOnWorker', bug=662498) |
| 30 |
27 # TODO(ccameron) fix these on Mac Retina | 31 # TODO(ccameron) fix these on Mac Retina |
28 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) | 32 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) |
29 | 33 |
30 # TODO(vmiura) check / generate reference images for Android devices | 34 # TODO(vmiura) check / generate reference images for Android devices |
31 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) | 35 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) |
32 | 36 |
33 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', | 37 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', |
34 ['mac', ('nvidia', 0xfe9)], bug=652931) | 38 ['mac', ('nvidia', 0xfe9)], bug=652931) |
35 | 39 |
36 # TODO(kbr): flakily timing out on this configuration. | 40 # TODO(kbr): flakily timing out on this configuration. |
37 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) | 41 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) |
38 | 42 |
39 # Flaky for unknown reasons only on macOS. Not planning to investigate | 43 # Flaky for unknown reasons only on macOS. Not planning to investigate |
40 # further. | 44 # further. |
41 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'], | 45 self.Flaky('Pixel_ScissorTestWithPreserveDrawingBuffer', ['mac'], |
42 bug=660461) | 46 bug=660461) |
43 | 47 |
44 # TODO(kainino): remove this once golden images are generated | 48 # TODO(kainino): remove this once golden images are generated |
45 self.Fail('Pixel_WebGLTransparentGreenTriangle_NoAlpha_ImplicitClear', | 49 self.Fail('Pixel_WebGLTransparentGreenTriangle_NoAlpha_ImplicitClear', |
46 bug=666259) | 50 bug=666259) |
OLD | NEW |