| 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 ['linux', 'mac']) | 28 ['win', 'mac', 'linux']) |
| 29 self.Skip('WebglExtension_WEBGL_compressed_texture_etc1', | 29 self.Skip('WebglExtension_WEBGL_compressed_texture_etc1', |
| 30 ['mac', 'linux']) | 30 ['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 # ======================== |
| (...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 844 # self.Fail(page_name, | 844 # self.Fail(page_name, |
| 845 # ['linux', ('nvidia', 0x1), 'debug', 'opengl']) | 845 # ['linux', ('nvidia', 0x1), 'debug', 'opengl']) |
| 846 # self.Fail(page_name, | 846 # self.Fail(page_name, |
| 847 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) | 847 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) |
| 848 | 848 |
| 849 # Conflicts if between a generic os condition and a specific version | 849 # Conflicts if between a generic os condition and a specific version |
| 850 # self.Fail(page_name, | 850 # self.Fail(page_name, |
| 851 # ['xp', ('nvidia', 0x1), 'debug', 'opengl']) | 851 # ['xp', ('nvidia', 0x1), 'debug', 'opengl']) |
| 852 # self.Fail(page_name, | 852 # self.Fail(page_name, |
| 853 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) | 853 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) |
| OLD | NEW |