Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Side by Side Diff: content/test/gpu/gpu_tests/webgl2_conformance_expectations.py

Issue 2378543002: (Reland) Port WebGL extension availability tests to the integration test harness. (Closed)
Patch Set: Skip WebglExtension_WEBGL_compressed_texture_s3tc_srgb on Android too. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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): 9 def __init__(self, conformance_path, url_prefixes=None):
10 super(WebGL2ConformanceExpectations, self).__init__(conformance_path) 10 super(WebGL2ConformanceExpectations, self).__init__(
11 conformance_path, url_prefixes=url_prefixes)
11 12
12 def SetExpectations(self): 13 def SetExpectations(self):
13 # =================================== 14 # ===================================
14 # Extension availability expectations 15 # Extension availability expectations
15 # =================================== 16 # ===================================
16 # 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.
17 # Having a test listed here is not necessarily a problem. 18 # Having a test listed here is not necessarily a problem.
18 19
19 self.Fail('WebglExtension.WEBGL_compressed_texture_astc', 20 # Skip these, rather than expect them to fail, to speed up test
21 # execution. The browser is restarted even after expected test
22 # failures.
23 self.Skip('WebglExtension_WEBGL_compressed_texture_astc',
20 ['win', 'mac', 'linux']) 24 ['win', 'mac', 'linux'])
21 self.Fail('WebglExtension.WEBGL_compressed_texture_atc', 25 self.Skip('WebglExtension_WEBGL_compressed_texture_atc',
22 ['win', 'mac', 'linux']) 26 ['win', 'mac', 'linux'])
23 self.Fail('WebglExtension.WEBGL_compressed_texture_etc1', 27 self.Skip('WebglExtension_WEBGL_compressed_texture_es3_0',
28 ['linux', 'mac'])
29 self.Skip('WebglExtension_WEBGL_compressed_texture_etc1',
24 ['mac', 'linux']) 30 ['mac', 'linux'])
25 self.Fail('WebglExtension.WEBGL_compressed_texture_pvrtc', 31 self.Skip('WebglExtension_WEBGL_compressed_texture_pvrtc',
32 ['win', 'mac', 'linux'])
33 self.Skip('WebglExtension_WEBGL_compressed_texture_s3tc_srgb',
26 ['win', 'mac', 'linux']) 34 ['win', 'mac', 'linux'])
27 35
28 # ======================== 36 # ========================
29 # Conformance expectations 37 # Conformance expectations
30 # ======================== 38 # ========================
31 39
32 # 2.0.1 OR LATER 40 # 2.0.1 OR LATER
33 # Too slow (take about one hour to run) 41 # Too slow (take about one hour to run)
34 self.Skip('deqp/functional/gles3/builtinprecision/*.html', bug=619403) 42 self.Skip('deqp/functional/gles3/builtinprecision/*.html', bug=619403)
35 43
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 # self.Fail(page_name, 888 # self.Fail(page_name,
881 # ['linux', ('nvidia', 0x1), 'debug', 'opengl']) 889 # ['linux', ('nvidia', 0x1), 'debug', 'opengl'])
882 # self.Fail(page_name, 890 # self.Fail(page_name,
883 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) 891 # ['win', ('nvidia', 0x1), 'debug', 'opengl'])
884 892
885 # Conflicts if between a generic os condition and a specific version 893 # Conflicts if between a generic os condition and a specific version
886 # self.Fail(page_name, 894 # self.Fail(page_name,
887 # ['xp', ('nvidia', 0x1), 'debug', 'opengl']) 895 # ['xp', ('nvidia', 0x1), 'debug', 'opengl'])
888 # self.Fail(page_name, 896 # self.Fail(page_name,
889 # ['win', ('nvidia', 0x1), 'debug', 'opengl']) 897 # ['win', ('nvidia', 0x1), 'debug', 'opengl'])
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/test_expectations_unittest.py ('k') | content/test/gpu/gpu_tests/webgl_conformance_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698