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/boolean_precision.html', | |
31 bug=368874) | |
32 self.Fail('conformance/glsl/misc/shader-struct-scope.html', | |
33 bug=368910) | |
34 | 30 |
35 # Flaky on Win | 31 # Flaky on Win |
36 self.Fail('conformance/extensions/webgl-draw-buffers.html', | 32 self.Fail('conformance/extensions/webgl-draw-buffers.html', |
37 ['win'], bug=369349) | 33 ['win'], bug=369349) |
38 self.Fail('conformance/context/context-lost-restored.html', | 34 self.Fail('conformance/context/context-lost-restored.html', |
39 ['win'], bug=374378) | 35 ['win'], bug=374378) |
40 | 36 |
41 # Win7 / Intel failures | 37 # Win7 / Intel failures |
42 self.Fail('conformance/rendering/gl-scissor-test.html', | 38 self.Fail('conformance/rendering/gl-scissor-test.html', |
43 ['win7', 'intel'], bug=314997) | 39 ['win7', 'intel'], bug=314997) |
44 self.Fail('conformance/context/premultiplyalpha-test.html', | 40 self.Fail('conformance/context/premultiplyalpha-test.html', |
45 ['win7', 'intel']) | 41 ['win7', 'intel']) |
46 self.Fail('conformance/textures/copy-tex-image-and-sub-image-2d.html', | 42 self.Fail('conformance/textures/copy-tex-image-and-sub-image-2d.html', |
47 ['win7', 'intel']) | 43 ['win7', 'intel']) |
48 self.Fail('conformance/rendering/gl-viewport-test.html', | 44 self.Fail('conformance/rendering/gl-viewport-test.html', |
49 ['win7', 'intel'], bug=372511) | 45 ['win7', 'intel'], bug=372511) |
50 self.Fail('conformance/glsl/misc/shader-with-array-of-structs-uniform.html', | 46 self.Fail('conformance/glsl/misc/shader-with-array-of-structs-uniform.html', |
51 ['win7', 'intel', 'nvidia'], bug=373972) | 47 ['win7', 'intel', 'nvidia'], bug=373972) |
52 | 48 |
| 49 # Mac failures |
| 50 self.Fail('conformance/glsl/misc/shader-struct-scope.html', |
| 51 ['mac'], bug=368910) |
| 52 |
53 # Mac / Intel failures | 53 # Mac / Intel failures |
54 # Radar 13499466 | 54 # Radar 13499466 |
55 self.Fail('conformance/limits/gl-max-texture-dimensions.html', | 55 self.Fail('conformance/limits/gl-max-texture-dimensions.html', |
56 ['mac', 'intel'], bug=225642) | 56 ['mac', 'intel'], bug=225642) |
57 # Radar 13499623 | 57 # Radar 13499623 |
58 self.Fail('conformance/textures/texture-size.html', | 58 self.Fail('conformance/textures/texture-size.html', |
59 ['mac', 'intel'], bug=225642) | 59 ['mac', 'intel'], bug=225642) |
60 | 60 |
61 # Mac / Intel HD 3000 failures | 61 # Mac / Intel HD 3000 failures |
62 self.Skip('conformance/ogles/GL/control_flow/control_flow_009_to_010.html', | 62 self.Skip('conformance/ogles/GL/control_flow/control_flow_009_to_010.html', |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 'conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html'
, | 250 'conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html'
, |
251 ['chromeos'], bug=28982) | 251 ['chromeos'], bug=28982) |
252 self.Fail( | 252 self.Fail( |
253 'conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.htm
l', | 253 'conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.htm
l', |
254 ['chromeos'], bug=28982) | 254 ['chromeos'], bug=28982) |
255 self.Fail( | 255 self.Fail( |
256 'conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.htm
l', | 256 'conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.htm
l', |
257 ['chromeos'], bug=28982) | 257 ['chromeos'], bug=28982) |
258 self.Fail('conformance/textures/texture-npot-video.html', | 258 self.Fail('conformance/textures/texture-npot-video.html', |
259 ['chromeos'], bug=28982) | 259 ['chromeos'], bug=28982) |
OLD | NEW |