| 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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 ['mac'], bug=483282) | 670 ['mac'], bug=483282) |
| 681 self.Fail('conformance2/glsl3/array-equality.html', | 671 self.Fail('conformance2/glsl3/array-equality.html', |
| 682 ['mac'], bug=483282) | 672 ['mac'], bug=483282) |
| 683 self.Fail('conformance2/glsl3/array-in-complex-expression.html', | 673 self.Fail('conformance2/glsl3/array-in-complex-expression.html', |
| 684 ['mac'], bug=483282) | 674 ['mac'], bug=483282) |
| 685 self.Fail('conformance2/renderbuffers/' + | 675 self.Fail('conformance2/renderbuffers/' + |
| 686 'multisampled-renderbuffer-initialization.html', | 676 'multisampled-renderbuffer-initialization.html', |
| 687 ['mac'], bug=483282) | 677 ['mac'], bug=483282) |
| 688 self.Fail('conformance2/rendering/instanced-arrays.html', | 678 self.Fail('conformance2/rendering/instanced-arrays.html', |
| 689 ['mac'], bug=483282) | 679 ['mac'], bug=483282) |
| OLD | NEW |