| 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 self.Flaky('ContextLost.WebGLContextLostFromGPUProcessExit', | 20 # Related bug: http://crbug.com/603329 . |
| 21 ['win7'], bug=603329) | 21 # Flaky retries aren't working well in this case. Need to shut |
| 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) |
| 22 | 26 |
| 23 # Win8 Release and Debug NVIDIA bots. | 27 # Win8 Release and Debug NVIDIA bots. |
| 24 self.Skip('ContextLost.WebGLContextLostFromSelectElement', | 28 self.Skip('ContextLost.WebGLContextLostFromSelectElement', |
| 25 ['win8', 'nvidia'], bug=524808) | 29 ['win8', 'nvidia'], bug=524808) |
| 26 | 30 |
| 27 # Flaky on Mac 10.7 and 10.8 resulting in crashes during browser | 31 # Flaky on Mac 10.7 and 10.8 resulting in crashes during browser |
| 28 # startup, so skip this test in those configurations. | 32 # startup, so skip this test in those configurations. |
| 29 self.Skip('ContextLost.WebGLContextLostFromSelectElement', | 33 self.Skip('ContextLost.WebGLContextLostFromSelectElement', |
| 30 ['mountainlion', 'debug'], bug=497411) | 34 ['mountainlion', 'debug'], bug=497411) |
| 31 self.Skip('ContextLost.WebGLContextLostFromSelectElement', | 35 self.Skip('ContextLost.WebGLContextLostFromSelectElement', |
| 32 ['lion', 'debug'], bug=498149) | 36 ['lion', 'debug'], bug=498149) |
| 33 | 37 |
| 34 # 'Browser must support tab control' raised on Android | 38 # 'Browser must support tab control' raised on Android |
| 35 self.Fail('GpuCrash.GPUProcessCrashesExactlyOnce', | 39 self.Fail('GpuCrash.GPUProcessCrashesExactlyOnce', |
| 36 ['android'], bug=609629) | 40 ['android'], bug=609629) |
| 37 self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', | 41 self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', |
| 38 ['android'], bug=609629) | 42 ['android'], bug=609629) |
| 39 self.Fail('ContextLost.WebGLContextLostInHiddenTab', | 43 self.Fail('ContextLost.WebGLContextLostInHiddenTab', |
| 40 ['android'], bug=609629) | 44 ['android'], bug=609629) |
| 41 | 45 |
| 42 # Nexus 6 | 46 # Nexus 6 |
| 43 # The Nexus 6 times out on these tests while waiting for the JS to complete | 47 # The Nexus 6 times out on these tests while waiting for the JS to complete |
| 44 self.Fail('ContextLost.WebGLContextLostFromLoseContextExtension', | 48 self.Fail('ContextLost.WebGLContextLostFromLoseContextExtension', |
| 45 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) | 49 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) |
| 46 self.Fail('ContextLost.WebGLContextLostFromQuantity', | 50 self.Fail('ContextLost.WebGLContextLostFromQuantity', |
| 47 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) | 51 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) |
| OLD | NEW |