| 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 | 19 # Win7 bots |
| 20 # Related bug: http://crbug.com/603329 . | 20 self.Flaky('ContextLost_WebGLContextLostFromGPUProcessExit', |
| 21 # Flaky retries aren't working well in this case. Need to shut | 21 ['win7'], bug=603329) |
| 22 # down the browser between runs. This will be done in the new test | |
| 23 # harness (http://crbug.com/352807). | |
| 24 self.Fail('ContextLost_WebGLContextLostFromGPUProcessExit', | |
| 25 ['win7'], bug=619196) | |
| 26 | 22 |
| 27 # Win8 Release and Debug NVIDIA bots. | 23 # Win8 Release and Debug NVIDIA bots. |
| 28 self.Skip('ContextLost_WebGLContextLostFromSelectElement', | 24 self.Skip('ContextLost_WebGLContextLostFromSelectElement', |
| 29 ['win8', 'nvidia'], bug=524808) | 25 ['win8', 'nvidia'], bug=524808) |
| 30 | 26 |
| 31 # Flakily timing out on Win x64 Debug bot. | 27 # Flakily timing out on Win x64 Debug bot. |
| 32 # Unfortunately we can't identify this separately from the 32-bit bots. | 28 # Unfortunately we can't identify this separately from the 32-bit bots. |
| 33 # Also unfortunately, the flaky retry mechanism doesn't work well in | 29 # Also unfortunately, the flaky retry mechanism doesn't work well in |
| 34 # this harness if the test times out. Skip it on this configuration for | 30 # this harness if the test times out. Skip it on this configuration for |
| 35 # now. | 31 # now. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 50 ['android'], bug=609629) | 46 ['android'], bug=609629) |
| 51 self.Skip('ContextLost_WebGLContextLostInHiddenTab', | 47 self.Skip('ContextLost_WebGLContextLostInHiddenTab', |
| 52 ['android'], bug=609629) | 48 ['android'], bug=609629) |
| 53 | 49 |
| 54 # Nexus 6 | 50 # Nexus 6 |
| 55 # The Nexus 6 times out on these tests while waiting for the JS to complete | 51 # The Nexus 6 times out on these tests while waiting for the JS to complete |
| 56 self.Fail('ContextLost_WebGLContextLostFromLoseContextExtension', | 52 self.Fail('ContextLost_WebGLContextLostFromLoseContextExtension', |
| 57 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) | 53 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) |
| 58 self.Fail('ContextLost_WebGLContextLostFromQuantity', | 54 self.Fail('ContextLost_WebGLContextLostFromQuantity', |
| 59 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) | 55 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) |
| OLD | NEW |