OLD | NEW |
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 WebGLConformanceExpectations(test_expectations.TestExpectations): | 21 class WebGLConformanceExpectations(test_expectations.TestExpectations): |
22 def SetExpectations(self): | 22 def SetExpectations(self): |
23 # Sample Usage: | 23 # Sample Usage: |
24 # self.Fail('gl-enable-vertex-attrib.html', | 24 # self.Fail('gl-enable-vertex-attrib.html', |
25 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) | 25 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) |
26 | 26 |
27 # Fails on all platforms | 27 # Fails on all platforms |
28 self.Fail('conformance/glsl/misc/shaders-with-mis-matching-uniforms.html', | 28 self.Fail('conformance/glsl/misc/shaders-with-mis-matching-uniforms.html', |
29 bug=351396) | 29 bug=351396) |
30 self.Fail('conformance/textures/texture-draw-with-2d-and-cube.html', | |
31 bug=391951) | |
32 self.Fail('conformance/renderbuffers/framebuffer-object-attachment.html', | 30 self.Fail('conformance/renderbuffers/framebuffer-object-attachment.html', |
33 ['win', 'linux', 'android', 'chromeos'], bug=391953) | 31 ['win', 'linux', 'android', 'chromeos'], bug=391953) |
34 | 32 |
35 # Flaky on Win | 33 # Flaky on Win |
36 self.Fail('conformance/extensions/webgl-draw-buffers.html', | 34 self.Fail('conformance/extensions/webgl-draw-buffers.html', |
37 ['win'], bug=369349) | 35 ['win'], bug=369349) |
38 self.Fail('conformance/context/context-lost-restored.html', | 36 self.Fail('conformance/context/context-lost-restored.html', |
39 ['win'], bug=374378) | 37 ['win'], bug=374378) |
40 | 38 |
41 # Win failures | 39 # Win failures |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 self.Fail('conformance/textures/texture-npot-video.html', | 251 self.Fail('conformance/textures/texture-npot-video.html', |
254 ['chromeos', ('intel', 0xa011)], bug=375554) | 252 ['chromeos', ('intel', 0xa011)], bug=375554) |
255 self.Fail('conformance/textures/texture-size.html', | 253 self.Fail('conformance/textures/texture-size.html', |
256 ['chromeos', ('intel', 0xa011)], bug=375554) | 254 ['chromeos', ('intel', 0xa011)], bug=375554) |
257 self.Fail('conformance/textures/texture-size-limit.html', | 255 self.Fail('conformance/textures/texture-size-limit.html', |
258 ['chromeos', ('intel', 0xa011)], bug=375554) | 256 ['chromeos', ('intel', 0xa011)], bug=375554) |
259 self.Fail('conformance/uniforms/gl-uniform-arrays.html', | 257 self.Fail('conformance/uniforms/gl-uniform-arrays.html', |
260 ['chromeos', ('intel', 0xa011)], bug=375554) | 258 ['chromeos', ('intel', 0xa011)], bug=375554) |
261 self.Skip('conformance/uniforms/uniform-default-values.html', | 259 self.Skip('conformance/uniforms/uniform-default-values.html', |
262 ['chromeos', ('intel', 0xa011)], bug=375554) | 260 ['chromeos', ('intel', 0xa011)], bug=375554) |
OLD | NEW |