| 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): |
| 10 super(WebGL2ConformanceExpectations, self).__init__( | 10 super(WebGL2ConformanceExpectations, self).__init__(conformance_path) |
| 11 conformance_path, url_prefixes=url_prefixes) | |
| 12 | 11 |
| 13 def SetExpectations(self): | 12 def SetExpectations(self): |
| 14 # =================================== | 13 # =================================== |
| 15 # Extension availability expectations | 14 # Extension availability expectations |
| 16 # =================================== | 15 # =================================== |
| 17 # It's expected that not all extensions will be available on all platforms. | 16 # It's expected that not all extensions will be available on all platforms. |
| 18 # Having a test listed here is not necessarily a problem. | 17 # Having a test listed here is not necessarily a problem. |
| 19 | 18 |
| 20 # Skip these, rather than expect them to fail, to speed up test | 19 self.Fail('WebglExtension.WEBGL_compressed_texture_astc', |
| 21 # execution. The browser is restarted even after expected test | |
| 22 # failures. | |
| 23 self.Skip('WebglExtension_WEBGL_compressed_texture_astc', | |
| 24 ['win', 'mac', 'linux']) | 20 ['win', 'mac', 'linux']) |
| 25 self.Skip('WebglExtension_WEBGL_compressed_texture_atc', | 21 self.Fail('WebglExtension.WEBGL_compressed_texture_atc', |
| 26 ['win', 'mac', 'linux']) | 22 ['win', 'mac', 'linux']) |
| 27 self.Skip('WebglExtension_WEBGL_compressed_texture_es3_0', | 23 self.Fail('WebglExtension.WEBGL_compressed_texture_etc1', |
| 28 ['linux', 'mac']) | |
| 29 self.Skip('WebglExtension_WEBGL_compressed_texture_etc1', | |
| 30 ['mac', 'linux']) | 24 ['mac', 'linux']) |
| 31 self.Skip('WebglExtension_WEBGL_compressed_texture_pvrtc', | 25 self.Fail('WebglExtension.WEBGL_compressed_texture_pvrtc', |
| 32 ['win', 'mac', 'linux']) | |
| 33 self.Skip('WebglExtension_WEBGL_compressed_texture_s3tc_srgb', | |
| 34 ['win', 'mac', 'linux']) | 26 ['win', 'mac', 'linux']) |
| 35 | 27 |
| 36 # ======================== | 28 # ======================== |
| 37 # Conformance expectations | 29 # Conformance expectations |
| 38 # ======================== | 30 # ======================== |
| 39 | 31 |
| 40 # 2.0.1 OR LATER | 32 # 2.0.1 OR LATER |
| 41 # Too slow (take about one hour to run) | 33 # Too slow (take about one hour to run) |
| 42 self.Skip('deqp/functional/gles3/builtinprecision/*.html', bug=619403) | 34 self.Skip('deqp/functional/gles3/builtinprecision/*.html', bug=619403) |
| 43 | 35 |
| (...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 # self.Fail(page_name, | 884 # self.Fail(page_name, |
| 893 # ['linux', ('nvidia', 0x1), 'debug', 'opengl']) | 885 # ['linux', ('nvidia', 0x1), 'debug', 'opengl']) |
| 894 # self.Fail(page_name, | 886 # self.Fail(page_name, |
| 895 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) | 887 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) |
| 896 | 888 |
| 897 # Conflicts if between a generic os condition and a specific version | 889 # Conflicts if between a generic os condition and a specific version |
| 898 # self.Fail(page_name, | 890 # self.Fail(page_name, |
| 899 # ['xp', ('nvidia', 0x1), 'debug', 'opengl']) | 891 # ['xp', ('nvidia', 0x1), 'debug', 'opengl']) |
| 900 # self.Fail(page_name, | 892 # self.Fail(page_name, |
| 901 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) | 893 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) |
| OLD | NEW |