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 # mavericks, yosemite, linux, chromeos, android | 11 # mavericks, yosemite, 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-invariance.html', | 28 self.Fail('conformance/glsl/misc/shaders-with-invariance.html', |
29 bug=421710) | 29 bug=421710) |
| 30 self.Fail('conformance/glsl/bugs/essl3-shaders-with-webgl1.html', |
| 31 bug=428845) |
| 32 self.Fail('conformance/glsl/misc/expression-list-in-declarator-initializer.h
tml', |
| 33 bug=428845) |
30 | 34 |
31 # Win failures | 35 # Win failures |
32 self.Fail('conformance/glsl/misc/struct-equals.html', | 36 self.Fail('conformance/glsl/misc/struct-equals.html', |
33 ['win'], bug=391957) | 37 ['win'], bug=391957) |
34 self.Fail('conformance/glsl/bugs/conditional-discard-in-loop.html', | 38 self.Fail('conformance/glsl/bugs/conditional-discard-in-loop.html', |
35 ['win'], bug=402195) | 39 ['win'], bug=402195) |
36 self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas
.html', | 40 self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas
.html', |
37 ['win'], bug=420357) | 41 ['win'], bug=420357) |
38 self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas
-rgb565.html', | 42 self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas
-rgb565.html', |
39 ['win'], bug=420357) | 43 ['win'], bug=420357) |
40 self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas
-rgba4444.html', | 44 self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas
-rgba4444.html', |
41 ['win'], bug=420357) | 45 ['win'], bug=420357) |
42 self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas
-rgba5551.html', | 46 self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas
-rgba5551.html', |
43 ['win'], bug=420357) | 47 ['win'], bug=420357) |
44 self.Fail('conformance/glsl/misc/ternary-operators-in-global-initializers.ht
ml', | 48 self.Fail('conformance/glsl/misc/ternary-operators-in-global-initializers.ht
ml', |
45 ['win'], bug=415694) | 49 ['win'], bug=415694) |
46 # This test still causes itself and any tests afterwards to time out | 50 # This test still causes itself and any tests afterwards to time out |
47 # in Win Debug bots. | 51 # in Win Debug bots. |
48 self.Skip('conformance/textures/texture-copying-feedback-loops.html', | 52 self.Skip('conformance/textures/texture-copying-feedback-loops.html', |
49 ['Win'], bug=421695) | 53 ['Win'], bug=421695) |
50 # Flaky on Win | 54 # Flaky on Win |
51 self.Fail('conformance/extensions/webgl-draw-buffers.html', | 55 self.Fail('conformance/extensions/webgl-draw-buffers.html', |
52 ['win'], bug=369349) | 56 ['win'], bug=369349) |
53 | 57 |
| 58 self.Fail('conformance/rendering/framebuffer-switch.html', |
| 59 ['win'], bug=428849) |
| 60 self.Fail('conformance/rendering/framebuffer-texture-switch.html', |
| 61 ['win'], bug=428849) |
| 62 |
54 # Win7 / Intel failures | 63 # Win7 / Intel failures |
55 self.Fail('conformance/rendering/gl-scissor-test.html', | 64 self.Fail('conformance/rendering/gl-scissor-test.html', |
56 ['win7', 'intel'], bug=314997) | 65 ['win7', 'intel'], bug=314997) |
57 self.Fail('conformance/context/premultiplyalpha-test.html', | 66 self.Fail('conformance/context/premultiplyalpha-test.html', |
58 ['win7', 'intel']) | 67 ['win7', 'intel']) |
59 self.Fail('conformance/textures/copy-tex-image-and-sub-image-2d.html', | 68 self.Fail('conformance/textures/copy-tex-image-and-sub-image-2d.html', |
60 ['win7', 'intel']) | 69 ['win7', 'intel']) |
61 self.Fail('conformance/rendering/gl-viewport-test.html', | 70 self.Fail('conformance/rendering/gl-viewport-test.html', |
62 ['win7', 'intel'], bug=372511) | 71 ['win7', 'intel'], bug=372511) |
63 self.Fail('conformance/glsl/misc/shader-with-array-of-structs-uniform.html', | 72 self.Fail('conformance/glsl/misc/shader-with-array-of-structs-uniform.html', |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 self.Fail('conformance/textures/texture-npot-video.html', | 267 self.Fail('conformance/textures/texture-npot-video.html', |
259 ['chromeos', ('intel', 0xa011)], bug=375554) | 268 ['chromeos', ('intel', 0xa011)], bug=375554) |
260 self.Fail('conformance/textures/texture-size.html', | 269 self.Fail('conformance/textures/texture-size.html', |
261 ['chromeos', ('intel', 0xa011)], bug=375554) | 270 ['chromeos', ('intel', 0xa011)], bug=375554) |
262 self.Fail('conformance/textures/texture-size-limit.html', | 271 self.Fail('conformance/textures/texture-size-limit.html', |
263 ['chromeos', ('intel', 0xa011)], bug=375554) | 272 ['chromeos', ('intel', 0xa011)], bug=375554) |
264 self.Fail('conformance/uniforms/gl-uniform-arrays.html', | 273 self.Fail('conformance/uniforms/gl-uniform-arrays.html', |
265 ['chromeos', ('intel', 0xa011)], bug=375554) | 274 ['chromeos', ('intel', 0xa011)], bug=375554) |
266 self.Skip('conformance/uniforms/uniform-default-values.html', | 275 self.Skip('conformance/uniforms/uniform-default-values.html', |
267 ['chromeos', ('intel', 0xa011)], bug=375554) | 276 ['chromeos', ('intel', 0xa011)], bug=375554) |
OLD | NEW |