| OLD | NEW |
| 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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 from gpu_tests.webgl_conformance_expectations import WebGLConformanceExpectation
s | 4 from gpu_tests.webgl_conformance_expectations import WebGLConformanceExpectation
s |
| 5 | 5 |
| 6 # See the GpuTestExpectations class for documentation. | 6 # See the GpuTestExpectations class for documentation. |
| 7 | 7 |
| 8 class WebGL2ConformanceExpectations(WebGLConformanceExpectations): | 8 class WebGL2ConformanceExpectations(WebGLConformanceExpectations): |
| 9 def __init__(self, conformance_path, url_prefixes=None): | 9 def __init__(self, conformance_path, url_prefixes=None): |
| 10 super(WebGL2ConformanceExpectations, self).__init__( | 10 super(WebGL2ConformanceExpectations, self).__init__( |
| 11 conformance_path, url_prefixes=url_prefixes) | 11 conformance_path, url_prefixes=url_prefixes) |
| 12 | 12 |
| 13 def SetExpectations(self): | 13 def SetExpectations(self): |
| 14 # =================================== | 14 # =================================== |
| 15 # Extension availability expectations | 15 # Extension availability expectations |
| 16 # =================================== | 16 # =================================== |
| 17 # It's expected that not all extensions will be available on all platforms. | 17 # It's expected that not all extensions will be available on all platforms. |
| 18 # Having a test listed here is not necessarily a problem. | 18 # Having a test listed here is not necessarily a problem. |
| 19 | 19 |
| 20 # Skip these, rather than expect them to fail, to speed up test | 20 # Skip these, rather than expect them to fail, to speed up test |
| 21 # execution. The browser is restarted even after expected test | 21 # execution. The browser is restarted even after expected test |
| 22 # failures. | 22 # failures. |
| 23 self.Skip('WebglExtension_WEBGL_compressed_texture_astc', | 23 self.Skip('WebglExtension_WEBGL_compressed_texture_astc', |
| 24 ['win', 'mac', 'linux']) | 24 ['win', 'mac', 'linux']) |
| 25 self.Skip('WebglExtension_WEBGL_compressed_texture_atc', | 25 self.Skip('WebglExtension_WEBGL_compressed_texture_atc', |
| 26 ['win', 'mac', 'linux']) | 26 ['win', 'mac', 'linux']) |
| 27 self.Skip('WebglExtension_WEBGL_compressed_texture_etc', | 27 self.Skip('WebglExtension_WEBGL_compressed_texture_etc', |
| 28 ['win', 'mac', 'linux']) | 28 ['win', 'mac', 'linux']) |
| 29 self.Skip('WebglExtension_WEBGL_compressed_texture_etc1', | 29 self.Skip('WebglExtension_WEBGL_compressed_texture_etc1', |
| 30 ['mac', 'linux']) | 30 ['win', 'mac', 'linux']) |
| 31 self.Skip('WebglExtension_WEBGL_compressed_texture_pvrtc', | 31 self.Skip('WebglExtension_WEBGL_compressed_texture_pvrtc', |
| 32 ['win', 'mac', 'linux']) | 32 ['win', 'mac', 'linux']) |
| 33 self.Skip('WebglExtension_WEBGL_compressed_texture_s3tc_srgb', | 33 self.Skip('WebglExtension_WEBGL_compressed_texture_s3tc_srgb', |
| 34 ['win', 'mac', 'linux']) | 34 ['win', 'mac', 'linux']) |
| 35 | 35 |
| 36 # ======================== | 36 # ======================== |
| 37 # Conformance expectations | 37 # Conformance expectations |
| 38 # ======================== | 38 # ======================== |
| 39 | 39 |
| 40 # 2.0.1 OR LATER | 40 # 2.0.1 OR LATER |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 # self.Fail(page_name, | 782 # self.Fail(page_name, |
| 783 # ['linux', ('nvidia', 0x1), 'debug', 'opengl']) | 783 # ['linux', ('nvidia', 0x1), 'debug', 'opengl']) |
| 784 # self.Fail(page_name, | 784 # self.Fail(page_name, |
| 785 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) | 785 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) |
| 786 | 786 |
| 787 # Conflicts if between a generic os condition and a specific version | 787 # Conflicts if between a generic os condition and a specific version |
| 788 # self.Fail(page_name, | 788 # self.Fail(page_name, |
| 789 # ['xp', ('nvidia', 0x1), 'debug', 'opengl']) | 789 # ['xp', ('nvidia', 0x1), 'debug', 'opengl']) |
| 790 # self.Fail(page_name, | 790 # self.Fail(page_name, |
| 791 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) | 791 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) |
| OLD | NEW |