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