| 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 | 23 |
| 23 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', | 24 self.Fail('Pixel_ScissorTestWithPreserveDrawingBuffer', |
| 24 ['android'], bug=521588) | 25 ['android'], bug=521588) |
| 25 | 26 |
| 26 self.Fail('Pixel_ScissorTestWithPreserveDrawingBufferES3', | 27 self.Fail('Pixel_ScissorTestWithPreserveDrawingBufferES3', |
| 27 ['mac'], bug=540039) | 28 ['mac'], bug=540039) |
| 28 self.Fail('Pixel_WebGLGreenTriangleES3', | 29 self.Fail('Pixel_WebGLGreenTriangleES3', |
| 29 ['mac', ('intel', 0x116)], bug=540531) | 30 ['mac', ('intel', 0x116)], bug=540531) |
| 30 | 31 |
| 31 # TODO(ccameron) fix these on Mac Retina | 32 # TODO(ccameron) fix these on Mac Retina |
| 32 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) | 33 self.Fail('Pixel_CSS3DBlueBox', ['mac'], bug=533690) |
| 33 self.Fail('Pixel_CSS3DBlueBoxES3', ['mac'], bug=533690) | 34 self.Fail('Pixel_CSS3DBlueBoxES3', ['mac'], bug=533690) |
| 34 | 35 |
| 35 # TODO(vmiura) check / generate reference images for Android devices | 36 # TODO(vmiura) check / generate reference images for Android devices |
| 36 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) | 37 self.Fail('Pixel_SolidColorBackground', ['mac', 'android'], bug=624256) |
| 37 | 38 |
| 38 # TODO(erikchen) check / generate reference images. | 39 # TODO(erikchen) check / generate reference images. |
| 39 self.Fail('Pixel_CSSFilterEffects', ['mac'], bug=581526) | 40 self.Fail('Pixel_CSSFilterEffects', ['mac'], bug=581526) |
| 40 self.Fail('Pixel_CSSFilterEffects_NoOverlays', ['mac'], bug=581526) | 41 self.Fail('Pixel_CSSFilterEffects_NoOverlays', ['mac'], bug=581526) |
| 41 | 42 |
| 42 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositing', bug=615325) | 43 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositing', bug=615325) |
| 43 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', | 44 self.Fail('Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker', |
| 44 bug=615325) | 45 bug=615325) |
| 45 | 46 |
| 46 # TODO(kbr): flakily timing out on this configuration. | 47 # TODO(kbr): flakily timing out on this configuration. |
| 47 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) | 48 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) |
| OLD | NEW |