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