| 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 ContextLostExpectations(GpuTestExpectations): | 9 class ContextLostExpectations(GpuTestExpectations): |
| 10 def SetExpectations(self): | 10 def SetExpectations(self): |
| 11 # Sample Usage: | 11 # Sample Usage: |
| 12 # self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', | 12 # self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', |
| 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) | 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) |
| 14 | 14 |
| 15 # AMD Radeon 6450 | 15 # AMD Radeon 6450 |
| 16 self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', | 16 self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', |
| 17 ['linux', ('amd', 0x6779)], bug=479975) | 17 ['linux', ('amd', 0x6779)], bug=479975) |
| 18 | 18 |
| 19 # Win7 bots |
| 20 self.Flaky('ContextLost.WebGLContextLostFromGPUProcessExit', |
| 21 ['win7'], bug=603329) |
| 22 |
| 19 # Win8 Release and Debug NVIDIA bots. | 23 # Win8 Release and Debug NVIDIA bots. |
| 20 self.Skip('ContextLost.WebGLContextLostFromSelectElement', | 24 self.Skip('ContextLost.WebGLContextLostFromSelectElement', |
| 21 ['win8', 'nvidia'], bug=524808) | 25 ['win8', 'nvidia'], bug=524808) |
| 22 | 26 |
| 23 # Flaky on Mac 10.7 and 10.8 resulting in crashes during browser | 27 # Flaky on Mac 10.7 and 10.8 resulting in crashes during browser |
| 24 # startup, so skip this test in those configurations. | 28 # startup, so skip this test in those configurations. |
| 25 self.Skip('ContextLost.WebGLContextLostFromSelectElement', | 29 self.Skip('ContextLost.WebGLContextLostFromSelectElement', |
| 26 ['mountainlion', 'debug'], bug=497411) | 30 ['mountainlion', 'debug'], bug=497411) |
| 27 self.Skip('ContextLost.WebGLContextLostFromSelectElement', | 31 self.Skip('ContextLost.WebGLContextLostFromSelectElement', |
| 28 ['lion', 'debug'], bug=498149) | 32 ['lion', 'debug'], bug=498149) |
| OLD | NEW |