Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: content/test/gpu/gpu_tests/context_lost_expectations.py

Issue 2299083002: Switch context_lost test to gpu_integration_test harness. (Closed)
Patch Set: Rebased. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 # Related bug: http://crbug.com/603329 .
21 # Flaky retries aren't working well in this case. Need to shut 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 22 # down the browser between runs. This will be done in the new test
23 # harness (http://crbug.com/352807). 23 # harness (http://crbug.com/352807).
24 self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', 24 self.Fail('ContextLost_WebGLContextLostFromGPUProcessExit',
25 ['win7'], bug=619196) 25 ['win7'], bug=619196)
26 26
27 # Win8 Release and Debug NVIDIA bots. 27 # Win8 Release and Debug NVIDIA bots.
28 self.Skip('ContextLost.WebGLContextLostFromSelectElement', 28 self.Skip('ContextLost_WebGLContextLostFromSelectElement',
29 ['win8', 'nvidia'], bug=524808) 29 ['win8', 'nvidia'], bug=524808)
30 30
31 # Flakily timing out on Win x64 Debug bot. 31 # Flakily timing out on Win x64 Debug bot.
32 # Unfortunately we can't identify this separately from the 32-bit bots. 32 # Unfortunately we can't identify this separately from the 32-bit bots.
33 # Also unfortunately, the flaky retry mechanism doesn't work well in 33 # 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 34 # this harness if the test times out. Skip it on this configuration for
35 # now. 35 # now.
36 self.Skip('ContextLost.WebGLContextLostFromQuantity', 36 self.Skip('ContextLost_WebGLContextLostFromQuantity',
37 ['win', 'debug'], bug=628697) 37 ['win', 'debug'], bug=628697)
38 38
39 # Flaky on Mac 10.7 and 10.8 resulting in crashes during browser 39 # Flaky on Mac 10.7 and 10.8 resulting in crashes during browser
40 # startup, so skip this test in those configurations. 40 # startup, so skip this test in those configurations.
41 self.Skip('ContextLost.WebGLContextLostFromSelectElement', 41 self.Skip('ContextLost_WebGLContextLostFromSelectElement',
42 ['mountainlion', 'debug'], bug=497411) 42 ['mountainlion', 'debug'], bug=497411)
43 self.Skip('ContextLost.WebGLContextLostFromSelectElement', 43 self.Skip('ContextLost_WebGLContextLostFromSelectElement',
44 ['lion', 'debug'], bug=498149) 44 ['lion', 'debug'], bug=498149)
45 45
46 # 'Browser must support tab control' raised on Android 46 # 'Browser must support tab control' raised on Android
47 self.Fail('GpuCrash.GPUProcessCrashesExactlyOnce', 47 self.Skip('GpuCrash_GPUProcessCrashesExactlyOncePerVisitToAboutGpuCrash',
48 ['android'], bug=609629) 48 ['android'], bug=609629)
49 self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit', 49 self.Skip('ContextLost_WebGLContextLostFromGPUProcessExit',
50 ['android'], bug=609629) 50 ['android'], bug=609629)
51 self.Fail('ContextLost.WebGLContextLostInHiddenTab', 51 self.Skip('ContextLost_WebGLContextLostInHiddenTab',
52 ['android'], bug=609629) 52 ['android'], bug=609629)
53 53
54 # Nexus 6 54 # Nexus 6
55 # The Nexus 6 times out on these tests while waiting for the JS to complete 55 # The Nexus 6 times out on these tests while waiting for the JS to complete
56 self.Fail('ContextLost.WebGLContextLostFromLoseContextExtension', 56 self.Fail('ContextLost_WebGLContextLostFromLoseContextExtension',
57 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) 57 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906)
58 self.Fail('ContextLost.WebGLContextLostFromQuantity', 58 self.Fail('ContextLost_WebGLContextLostFromQuantity',
59 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906) 59 ['android', ('qualcomm', 'Adreno (TM) 420')], bug=611906)
OLDNEW
« no previous file with comments | « content/test/gpu/generate_buildbot_json.py ('k') | content/test/gpu/gpu_tests/context_lost_integration_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698