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

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

Issue 450493002: Added test expectations for context_lost and suppressed flaky failure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/test/gpu/gpu_tests/context_lost.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 telemetry.page import test_expectations 5 from telemetry.page import test_expectations
6 6
7 # Valid expectation conditions are: 7 # Valid expectation conditions are:
8 # 8 #
9 # Operating systems: 9 # Operating systems:
10 # win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion, 10 # win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion,
11 # linux, chromeos, android 11 # linux, chromeos, android
12 # 12 #
13 # GPU vendors: 13 # GPU vendors:
14 # amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qualcomm, 14 # amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qualcomm,
15 # vivante 15 # vivante
16 # 16 #
17 # Specific GPUs can be listed as a tuple with vendor name and device ID. 17 # Specific GPUs can be listed as a tuple with vendor name and device ID.
18 # Examples: ('nvidia', 0x1234), ('arm', 'Mali-T604') 18 # Examples: ('nvidia', 0x1234), ('arm', 'Mali-T604')
19 # Device IDs must be paired with a GPU vendor. 19 # Device IDs must be paired with a GPU vendor.
20 20
21 class MapsExpectations(test_expectations.TestExpectations): 21 class ContextLostExpectations(test_expectations.TestExpectations):
22 def SetExpectations(self): 22 def SetExpectations(self):
23 # Sample Usage: 23 # Sample Usage:
24 # self.Fail('Maps.maps_001', 24 # self.Fail('ContextLost.WebGLContextLostFromGPUProcessExit',
25 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) 25 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123)
26 26
27 pass 27 self.Fail('GpuCrash.GPUProcessCrashesExactlyOnce',
28 ['win'], bug=392891)
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/context_lost.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698