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