| 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_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): | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
|   23   def CheckPatternIsValid(self, pattern): |   23   def CheckPatternIsValid(self, pattern): | 
|   24     # Look for basic wildcards. |   24     # Look for basic wildcards. | 
|   25     if not '*' in pattern: |   25     if not '*' in pattern: | 
|   26       full_path = os.path.normpath(os.path.join(self.conformance_path, pattern)) |   26       full_path = os.path.normpath(os.path.join(self.conformance_path, pattern)) | 
|   27       if not os.path.exists(full_path): |   27       if not os.path.exists(full_path): | 
|   28         raise Exception('The WebGL conformance test path specified in' + |   28         raise Exception('The WebGL conformance test path specified in' + | 
|   29           'expectation does not exist: ' + full_path) |   29           'expectation does not exist: ' + full_path) | 
|   30  |   30  | 
|   31   def SetExpectations(self): |   31   def SetExpectations(self): | 
|   32     # Fails on all platforms |   32     # Fails on all platforms | 
|   33     self.Fail('deqp/data/gles2/shaders/constant_expressions.html', |  | 
|   34         bug=478572) |  | 
|   35     self.Fail('deqp/data/gles2/shaders/constants.html', |  | 
|   36         bug=478572) |  | 
|   37     self.Fail('deqp/data/gles2/shaders/fragdata.html', |  | 
|   38         bug=478572) |  | 
|   39     self.Fail('deqp/data/gles2/shaders/functions.html', |   33     self.Fail('deqp/data/gles2/shaders/functions.html', | 
|   40         bug=478572) |   34         bug=478572) | 
|   41     self.Fail('deqp/data/gles2/shaders/linkage.html', |  | 
|   42         bug=478572) |  | 
|   43     self.Fail('deqp/data/gles2/shaders/preprocessor.html', |   35     self.Fail('deqp/data/gles2/shaders/preprocessor.html', | 
|   44         bug=478572) |   36         bug=478572) | 
|   45     self.Fail('deqp/data/gles2/shaders/scoping.html', |   37     self.Fail('deqp/data/gles2/shaders/scoping.html', | 
|   46         bug=478572) |   38         bug=478572) | 
|   47     self.Fail('conformance/glsl/misc/const-variable-initialization.html', |  | 
|   48         bug=485632) |  | 
|   49     self.Fail('conformance/misc/expando-loss.html', |   39     self.Fail('conformance/misc/expando-loss.html', | 
|   50         bug=485634) |   40         bug=485634) | 
|   51  |   41  | 
|   52     # Win failures |   42     # Win failures | 
|   53     self.Fail('conformance/glsl/bugs/' + |   43     self.Fail('conformance/glsl/bugs/' + | 
|   54               'pow-of-small-constant-in-user-defined-function.html', |   44               'pow-of-small-constant-in-user-defined-function.html', | 
|   55         ['win'], bug=485641) |   45         ['win'], bug=485641) | 
|   56     self.Fail('conformance/glsl/bugs/sampler-struct-function-arg.html', |   46     self.Fail('conformance/glsl/bugs/sampler-struct-function-arg.html', | 
|   57         ['win'], bug=485642) |   47         ['win'], bug=485642) | 
|   58  |   48  | 
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  133     self.Fail('conformance/textures/misc/gl-pixelstorei.html', |  123     self.Fail('conformance/textures/misc/gl-pixelstorei.html', | 
|  134         ['win', 'opengl'], bug=1007) # angle bug ID |  124         ['win', 'opengl'], bug=1007) # angle bug ID | 
|  135     self.Fail('conformance/textures/misc/tex-image-canvas-corruption.html', |  125     self.Fail('conformance/textures/misc/tex-image-canvas-corruption.html', | 
|  136         ['win', 'opengl'], bug=1007) # angle bug ID |  126         ['win', 'opengl'], bug=1007) # angle bug ID | 
|  137     self.Fail('deqp/data/gles2/shaders/conditionals.html', |  127     self.Fail('deqp/data/gles2/shaders/conditionals.html', | 
|  138         ['win', 'opengl'], bug=1007) # angle bug ID |  128         ['win', 'opengl'], bug=1007) # angle bug ID | 
|  139     self.Fail('deqp/data/gles2/shaders/conversions.html', |  129     self.Fail('deqp/data/gles2/shaders/conversions.html', | 
|  140         ['win', 'opengl'], bug=1007) # angle bug ID |  130         ['win', 'opengl'], bug=1007) # angle bug ID | 
|  141     self.Fail('deqp/data/gles2/shaders/qualification_order.html', |  131     self.Fail('deqp/data/gles2/shaders/qualification_order.html', | 
|  142         ['win', 'opengl'], bug=1007) # angle bug ID |  132         ['win', 'opengl'], bug=1007) # angle bug ID | 
 |  133     self.Fail('deqp/data/gles2/shaders/linkage.html', | 
 |  134         ['win', 'opengl'], bug=1007) # angle bug ID | 
|  143  |  135  | 
|  144     # Win / OpenGL / AMD failures |  136     # Win / OpenGL / AMD failures | 
|  145     self.Fail('conformance/extensions/oes-texture-half-float-linear.html', |  137     self.Fail('conformance/extensions/oes-texture-half-float-linear.html', | 
|  146         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID |  138         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
|  147     self.Fail('conformance/extensions/' + |  139     self.Fail('conformance/extensions/' + | 
|  148         'oes-texture-half-float-with-image-data.html', |  140         'oes-texture-half-float-with-image-data.html', | 
|  149         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID |  141         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
|  150     self.Fail('conformance/extensions/oes-texture-half-float-with-image.html', |  142     self.Fail('conformance/extensions/oes-texture-half-float-with-image.html', | 
|  151         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID |  143         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
|  152     self.Fail('conformance/extensions/oes-texture-half-float-with-video.html', |  144     self.Fail('conformance/extensions/oes-texture-half-float-with-video.html', | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  188     self.Fail('conformance/glsl/misc/shaders-with-invariance.html', |  180     self.Fail('conformance/glsl/misc/shaders-with-invariance.html', | 
|  189         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID |  181         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
|  190     self.Fail('conformance/glsl/misc/struct-nesting-of-variable-names.html', |  182     self.Fail('conformance/glsl/misc/struct-nesting-of-variable-names.html', | 
|  191         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID |  183         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
|  192     self.Fail('conformance/rendering/gl-scissor-test.html', |  184     self.Fail('conformance/rendering/gl-scissor-test.html', | 
|  193         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID |  185         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
|  194     self.Fail('conformance/state/gl-get-calls.html', |  186     self.Fail('conformance/state/gl-get-calls.html', | 
|  195         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID |  187         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
|  196     self.Fail('conformance/uniforms/gl-uniform-arrays.html', |  188     self.Fail('conformance/uniforms/gl-uniform-arrays.html', | 
|  197         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID |  189         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
 |  190     self.Fail('deqp/data/gles2/shaders/constant_expressions.html', | 
 |  191         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
 |  192     self.Fail('deqp/data/gles2/shaders/constants.html', | 
 |  193         ['win', 'amd', 'opengl'], bug=1007) # angle bug ID | 
|  198  |  194  | 
|  199     # Skip all WebGL CTS on OpenGL+Intel |  195     # Skip all WebGL CTS on OpenGL+Intel | 
|  200     self.Skip('*', ['win', 'opengl', 'intel'], bug=1007) # angle bug ID |  196     self.Skip('*', ['win', 'opengl', 'intel'], bug=1007) # angle bug ID | 
|  201  |  197  | 
|  202     # Mac failures |  198     # Mac failures | 
|  203     self.Fail('conformance/glsl/misc/shaders-with-invariance.html', |  199     self.Fail('conformance/glsl/misc/shaders-with-invariance.html', | 
|  204         ['mac'], bug=421710) |  200         ['mac'], bug=421710) | 
|  205  |  201  | 
|  206     # Mac / Intel failures |  202     # Mac / Intel failures | 
|  207     # Radar 13499466 |  203     # Radar 13499466 | 
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  680         ['mac'], bug=483282) |  676         ['mac'], bug=483282) | 
|  681     self.Fail('conformance2/glsl3/array-equality.html', |  677     self.Fail('conformance2/glsl3/array-equality.html', | 
|  682         ['mac'], bug=483282) |  678         ['mac'], bug=483282) | 
|  683     self.Fail('conformance2/glsl3/array-in-complex-expression.html', |  679     self.Fail('conformance2/glsl3/array-in-complex-expression.html', | 
|  684         ['mac'], bug=483282) |  680         ['mac'], bug=483282) | 
|  685     self.Fail('conformance2/renderbuffers/' + |  681     self.Fail('conformance2/renderbuffers/' + | 
|  686         'multisampled-renderbuffer-initialization.html', |  682         'multisampled-renderbuffer-initialization.html', | 
|  687         ['mac'], bug=483282) |  683         ['mac'], bug=483282) | 
|  688     self.Fail('conformance2/rendering/instanced-arrays.html', |  684     self.Fail('conformance2/rendering/instanced-arrays.html', | 
|  689         ['mac'], bug=483282) |  685         ['mac'], bug=483282) | 
| OLD | NEW |