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 |
| 16 # that disables gpu compositing on Android platforms. |
| 17 self.Skip('Pixel_OffscreenCanvasUnaccelerated2D', ['android']) |
| 18 self.Skip('Pixel_OffscreenCanvasUnaccelerated2DWorker', ['android']) |
| 19 |
15 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', | 20 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', |
16 ['android'], bug=521588) | 21 ['android'], bug=521588) |
17 | 22 |
18 self.Fail('Pixel_ScissorTestWithPreserveDrawingBufferES3', | 23 self.Fail('Pixel_ScissorTestWithPreserveDrawingBufferES3', |
19 ['mac'], bug=540039) | 24 ['mac'], bug=540039) |
20 self.Fail('Pixel_WebGLGreenTriangleES3', | 25 self.Fail('Pixel_WebGLGreenTriangleES3', |
21 ['mac', ('intel', 0x116)], bug=540531) | 26 ['mac', ('intel', 0x116)], bug=540531) |
22 | 27 |
23 # TODO(ccameron) fix these on Mac Retina | 28 # TODO(ccameron) fix these on Mac Retina |
24 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) | 29 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) |
25 self.Fail('Pixel_CSS3DBlueBoxES3', ['mac'], bug=533690) | 30 self.Fail('Pixel_CSS3DBlueBoxES3', ['mac'], bug=533690) |
26 | 31 |
27 # TODO(vmiura) check / generate reference images for Android devices | 32 # TODO(vmiura) check / generate reference images for Android devices |
28 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) | 33 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) |
29 | 34 |
30 # TODO(erikchen) check / generate reference images. | 35 # TODO(erikchen) check / generate reference images. |
31 self.Fail('Pixel_CSSFilterEffects', ['mac'], bug=581526) | 36 self.Fail('Pixel_CSSFilterEffects', ['mac'], bug=581526) |
32 self.Fail('Pixel_CSSFilterEffects_NoOverlays', ['mac'], bug=581526) | 37 self.Fail('Pixel_CSSFilterEffects_NoOverlays', ['mac'], bug=581526) |
33 | 38 |
34 # TODO(xlai) check / generate reference images. | |
35 self.Fail('Pixel_OffscreenCanvasUnaccelerated2D', bug=563852) | |
36 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DWorker', bug=563858) | |
37 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', | 39 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', |
38 ['mac', ('nvidia', 0xfe9)], bug=652931) | 40 ['mac', ('nvidia', 0xfe9)], bug=652931) |
39 | 41 |
40 # TODO(kbr): flakily timing out on this configuration. | 42 # TODO(kbr): flakily timing out on this configuration. |
41 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) | 43 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) |
OLD | NEW |