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 import os | 4 import os |
5 | 5 |
6 from gpu_test_expectations import GpuTestExpectations | 6 from gpu_tests.gpu_test_expectations import GpuTestExpectations |
7 | 7 |
8 # See the GpuTestExpectations class for documentation. | 8 # See the GpuTestExpectations class for documentation. |
9 | 9 |
10 class WebGLConformanceExpectations(GpuTestExpectations): | 10 class WebGLConformanceExpectations(GpuTestExpectations): |
11 def __init__(self, conformance_path): | 11 def __init__(self, conformance_path): |
12 self.conformance_path = conformance_path | 12 self.conformance_path = conformance_path |
13 super(WebGLConformanceExpectations, self).__init__() | 13 GpuTestExpectations.__init__(self) |
Ken Russell (switch to Gerrit)
2015/10/21 22:12:08
I'd rather use the super() syntax to avoid explici
Corentin Wallez
2015/10/21 23:07:25
Done.
| |
14 | 14 |
15 def Fail(self, pattern, condition=None, bug=None): | 15 def Fail(self, pattern, condition=None, bug=None): |
16 self.CheckPatternIsValid(pattern) | 16 self.CheckPatternIsValid(pattern) |
17 GpuTestExpectations.Fail(self, pattern, condition, bug) | 17 GpuTestExpectations.Fail(self, pattern, condition, bug) |
18 | 18 |
19 def Skip(self, pattern, condition=None, bug=None): | 19 def Skip(self, pattern, condition=None, bug=None): |
20 self.CheckPatternIsValid(pattern) | 20 self.CheckPatternIsValid(pattern) |
21 GpuTestExpectations.Skip(self, pattern, condition, bug) | 21 GpuTestExpectations.Skip(self, pattern, condition, bug) |
22 | 22 |
23 def CheckPatternIsValid(self, pattern): | 23 def CheckPatternIsValid(self, pattern): |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
473 self.Fail('conformance/textures/misc/texture-npot.html', | 473 self.Fail('conformance/textures/misc/texture-npot.html', |
474 ['chromeos', ('intel', 0xa011)], bug=375554) | 474 ['chromeos', ('intel', 0xa011)], bug=375554) |
475 self.Fail('conformance/textures/misc/texture-npot-video.html', | 475 self.Fail('conformance/textures/misc/texture-npot-video.html', |
476 ['chromeos', ('intel', 0xa011)], bug=375554) | 476 ['chromeos', ('intel', 0xa011)], bug=375554) |
477 self.Fail('conformance/textures/misc/texture-size.html', | 477 self.Fail('conformance/textures/misc/texture-size.html', |
478 ['chromeos', ('intel', 0xa011)], bug=375554) | 478 ['chromeos', ('intel', 0xa011)], bug=375554) |
479 self.Fail('conformance/uniforms/gl-uniform-arrays.html', | 479 self.Fail('conformance/uniforms/gl-uniform-arrays.html', |
480 ['chromeos', ('intel', 0xa011)], bug=375554) | 480 ['chromeos', ('intel', 0xa011)], bug=375554) |
481 self.Skip('conformance/uniforms/uniform-default-values.html', | 481 self.Skip('conformance/uniforms/uniform-default-values.html', |
482 ['chromeos', ('intel', 0xa011)], bug=375554) | 482 ['chromeos', ('intel', 0xa011)], bug=375554) |
OLD | NEW |