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/glsl/misc/shaders-with-uniform-structs.html') | |
Zhenyao Mo
2014/07/31 19:48:27
Could you remove the failing tests above (shaders-
| |
30 | 31 |
31 # Flaky on Win | 32 # Flaky on Win |
32 self.Fail('conformance/extensions/webgl-draw-buffers.html', | 33 self.Fail('conformance/extensions/webgl-draw-buffers.html', |
33 ['win'], bug=369349) | 34 ['win'], bug=369349) |
34 | 35 |
35 # Win failures | 36 # Win failures |
36 self.Fail('conformance/glsl/misc/struct-equals.html', | 37 self.Fail('conformance/glsl/misc/struct-equals.html', |
37 ['win'], bug=391957) | 38 ['win'], bug=391957) |
39 self.Fail('conformance/rendering/negative-one-index.html', | |
40 ['win']) | |
Zhenyao Mo
2014/07/31 19:48:28
Can you add bug=396058 to this new entry?
| |
38 | 41 |
39 # Win7 / Intel failures | 42 # Win7 / Intel failures |
40 self.Fail('conformance/rendering/gl-scissor-test.html', | 43 self.Fail('conformance/rendering/gl-scissor-test.html', |
41 ['win7', 'intel'], bug=314997) | 44 ['win7', 'intel'], bug=314997) |
42 self.Fail('conformance/context/premultiplyalpha-test.html', | 45 self.Fail('conformance/context/premultiplyalpha-test.html', |
43 ['win7', 'intel']) | 46 ['win7', 'intel']) |
44 self.Fail('conformance/textures/copy-tex-image-and-sub-image-2d.html', | 47 self.Fail('conformance/textures/copy-tex-image-and-sub-image-2d.html', |
45 ['win7', 'intel']) | 48 ['win7', 'intel']) |
46 self.Fail('conformance/rendering/gl-viewport-test.html', | 49 self.Fail('conformance/rendering/gl-viewport-test.html', |
47 ['win7', 'intel'], bug=372511) | 50 ['win7', 'intel'], bug=372511) |
48 self.Fail('conformance/glsl/misc/shader-with-array-of-structs-uniform.html', | 51 self.Fail('conformance/glsl/misc/shader-with-array-of-structs-uniform.html', |
49 ['win7', 'intel', 'nvidia'], bug=373972) | 52 ['win7', 'intel', 'nvidia'], bug=373972) |
50 | 53 |
54 # Linux failures | |
55 self.Fail( | |
56 'conformance/glsl/constructors/glsl-construct-vec-mat-corner-cases.html' , | |
57 ['linux']) | |
Zhenyao Mo
2014/07/31 19:48:27
I think if you update this file, you will see a bu
| |
58 | |
51 # Mac failures | 59 # Mac failures |
52 self.Fail('conformance/glsl/misc/shader-struct-scope.html', | 60 self.Fail('conformance/glsl/misc/shader-struct-scope.html', |
53 ['mac'], bug=368910) | 61 ['mac'], bug=368910) |
54 | 62 |
55 # Mac / Intel failures | 63 # Mac / Intel failures |
56 # Radar 13499466 | 64 # Radar 13499466 |
57 self.Fail('conformance/limits/gl-max-texture-dimensions.html', | 65 self.Fail('conformance/limits/gl-max-texture-dimensions.html', |
58 ['mac', 'intel'], bug=225642) | 66 ['mac', 'intel'], bug=225642) |
59 # Radar 13499623 | 67 # Radar 13499623 |
60 self.Fail('conformance/textures/texture-size.html', | 68 self.Fail('conformance/textures/texture-size.html', |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
232 self.Fail('conformance/textures/texture-npot-video.html', | 240 self.Fail('conformance/textures/texture-npot-video.html', |
233 ['chromeos', ('intel', 0xa011)], bug=375554) | 241 ['chromeos', ('intel', 0xa011)], bug=375554) |
234 self.Fail('conformance/textures/texture-size.html', | 242 self.Fail('conformance/textures/texture-size.html', |
235 ['chromeos', ('intel', 0xa011)], bug=375554) | 243 ['chromeos', ('intel', 0xa011)], bug=375554) |
236 self.Fail('conformance/textures/texture-size-limit.html', | 244 self.Fail('conformance/textures/texture-size-limit.html', |
237 ['chromeos', ('intel', 0xa011)], bug=375554) | 245 ['chromeos', ('intel', 0xa011)], bug=375554) |
238 self.Fail('conformance/uniforms/gl-uniform-arrays.html', | 246 self.Fail('conformance/uniforms/gl-uniform-arrays.html', |
239 ['chromeos', ('intel', 0xa011)], bug=375554) | 247 ['chromeos', ('intel', 0xa011)], bug=375554) |
240 self.Skip('conformance/uniforms/uniform-default-values.html', | 248 self.Skip('conformance/uniforms/uniform-default-values.html', |
241 ['chromeos', ('intel', 0xa011)], bug=375554) | 249 ['chromeos', ('intel', 0xa011)], bug=375554) |
OLD | NEW |