Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / test / gpu / gpu_tests / webgl_conformance_expectations.py
index 42960b0..ceb5606 100644 (file)
@@ -24,119 +24,60 @@ class WebGLConformanceExpectations(test_expectations.TestExpectations):
     # self.Fail('gl-enable-vertex-attrib.html',
     #     ['mac', 'amd', ('nvidia', 0x1234)], bug=123)
 
-    # Fails everywhere.
-    self.Skip('conformance/glsl/misc/large-loop-compile.html',
-        bug=322764)
-    self.Skip('conformance/textures/texture-size-limit.html',
-        bug=322789)
+    # Fails on all platforms
+    self.Fail('conformance/glsl/misc/shaders-with-mis-matching-uniforms.html',
+        bug=351396)
+    self.Fail('conformance/glsl/misc/boolean_precision.html',
+        bug=368874)
+    self.Fail('conformance/glsl/bugs/nested-structs-with-same-name.html',
+        bug=368910)
 
-    # Windows failures.
-    self.Fail('conformance/ogles/GL/atan/atan_001_to_008.html',
-        ['win'], bug=322794)
-    self.Fail('conformance/ogles/GL/atan/atan_009_to_012.html',
-        ['win'], bug=322794)
-    self.Skip('conformance/ogles/GL/control_flow/control_flow_001_to_008.html',
-        ['win'], bug=322795)
+    # Flaky on Win
+    self.Fail('conformance/extensions/webgl-draw-buffers.html',
+        ['win'], bug=369349)
 
-    # Windows/Intel failures
-    self.Fail('conformance/textures/texture-size.html',
-        ['win', 'intel'], bug=121139)
+    # Win7 / Intel failures
     self.Fail('conformance/rendering/gl-scissor-test.html',
-        ['win', 'intel'], bug=314997)
-
-    # Windows/AMD failures
-    self.Fail('conformance/rendering/more-than-65536-indices.html',
-        ['win', 'amd'], bug=314997)
-
-    # Windows 7/Intel failures
-    self.Fail('conformance/context/context-lost-restored.html',
-        ['win7', 'intel'])
+        ['win7', 'intel'], bug=314997)
     self.Fail('conformance/context/premultiplyalpha-test.html',
         ['win7', 'intel'])
-    self.Fail('conformance/extensions/oes-texture-float-with-image-data.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/extensions/oes-texture-float.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/limits/gl-min-attribs.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/limits/gl-max-texture-dimensions.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/limits/gl-min-textures.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/limits/gl-min-uniforms.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/rendering/gl-clear.html',
-        ['win7', 'intel'])
     self.Fail('conformance/textures/copy-tex-image-and-sub-image-2d.html',
         ['win7', 'intel'])
-    self.Fail('conformance/textures/gl-teximage.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-image-data.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgb565.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba4444.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba5551.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/tex-image-with-format-and-type.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/tex-sub-image-2d.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/texparameter-test.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/texture-active-bind-2.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/texture-active-bind.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/texture-complete.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/texture-formats-test.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/texture-mips.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/texture-npot.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/textures/texture-size-cube-maps.html',
-        ['win7', 'intel'])
-    self.Fail('conformance/context/context-attribute-preserve-drawing-buffer.html',
-        ['win7', 'intel'], bug=322770)
-
-    # Mac failures.
-    self.Fail('conformance/glsl/misc/shaders-with-varyings.html',
-        ['mac'], bug=322760)
-    self.Fail('conformance/context/context-attribute-preserve-drawing-buffer.html',
-        ['mac'], bug=322770)
-    self.Skip('conformance/ogles/GL/control_flow/control_flow_001_to_008.html',
-        ['mac'], bug=322795)
 
-    # Mac/Intel failures
-    self.Fail('conformance/rendering/gl-scissor-test.html',
-        ['mac', 'intel'], bug=314997)
-    # The following two tests hang the WindowServer.
-    self.Skip('conformance/canvas/drawingbuffer-static-canvas-test.html',
-        ['mac', 'intel'], bug=303915)
-    self.Skip('conformance/canvas/drawingbuffer-test.html',
-        ['mac', 'intel'], bug=303915)
-    # The following three tests only fail.
-    # Radar 13499677
-    self.Fail(
-        'conformance/glsl/functions/glsl-function-smoothstep-gentype.html',
-        ['mac', 'intel'], bug=225642)
+    # Mac / Intel failures
     # Radar 13499466
     self.Fail('conformance/limits/gl-max-texture-dimensions.html',
         ['mac', 'intel'], bug=225642)
     # Radar 13499623
     self.Fail('conformance/textures/texture-size.html',
         ['mac', 'intel'], bug=225642)
+
+    # Mac / Intel HD 3000 failures
     self.Skip('conformance/ogles/GL/control_flow/control_flow_009_to_010.html',
-        ['mac', 'intel'], bug=322795)
+        ['mac', ('intel', 0x116)], bug=322795)
+    # Radar 13499677
+    self.Fail('conformance/glsl/functions/glsl-function-smoothstep-gentype.html',
+        ['mac', ('intel', 0x116)], bug=225642)
+    self.Fail('conformance/extensions/webgl-draw-buffers.html',
+        ['mac', ('intel', 0x116)], bug=369349)
+
+    # Mac 10.8 / Intel HD 3000 failures
+    self.Fail('conformance/rendering/gl-scissor-test.html',
+        ['mountainlion', ('intel', 0x116)], bug=314997)
     self.Fail('conformance/ogles/GL/operators/operators_009_to_016.html',
-        ['mac', 'intel'], bug=322795)
+        ['mountainlion', ('intel', 0x116)], bug=322795)
+
+    # Mac Retina failures
+    self.Fail(
+        'conformance/glsl/bugs/array-of-struct-with-int-first-position.html',
+        ['mac', ('nvidia', 0xfd5), ('nvidia', 0xfe9)], bug=368912)
 
-    # Mac/Intel failures on 10.7
+    # Mac 10.8 / ATI failures
+    self.Fail(
+        'conformance/rendering/point-with-gl-pointcoord-in-fragment-shader.html',
+        ['mountainlion', 'amd'])
+
+    # Mac 10.7 / Intel failures
     self.Skip('conformance/glsl/functions/glsl-function-asin.html',
         ['lion', 'intel'])
     self.Skip('conformance/glsl/functions/glsl-function-dot.html',
@@ -149,15 +90,10 @@ class WebGLConformanceExpectations(test_expectations.TestExpectations):
         ['lion', 'intel'])
     self.Skip('conformance/glsl/functions/glsl-function-reflect.html',
         ['lion', 'intel'])
-    self.Skip(
-        'conformance/glsl/functions/glsl-function-smoothstep-gentype.html',
-        ['lion', 'intel'])
-    self.Skip('conformance/limits/gl-max-texture-dimensions.html',
-        ['lion', 'intel'])
     self.Skip('conformance/rendering/line-loop-tri-fan.html',
         ['lion', 'intel'])
-    self.Skip('conformance/ogles/GL/control_flow/control_flow_009_to_010.html',
-        ['lion'], bug=322795)
+    self.Skip('conformance/ogles/GL/control_flow/control_flow_001_to_008.html',
+        ['lion', 'intel'], bug=345575)
     self.Skip('conformance/ogles/GL/dot/dot_001_to_006.html',
         ['lion', 'intel'], bug=323736)
     self.Skip('conformance/ogles/GL/faceforward/faceforward_001_to_006.html',
@@ -173,47 +109,26 @@ class WebGLConformanceExpectations(test_expectations.TestExpectations):
     self.Skip('conformance/ogles/GL/tan/tan_001_to_006.html',
         ['lion', 'intel'], bug=323736)
 
-    # Mac/ATI failures
-    self.Skip('conformance/extensions/oes-texture-float-with-image-data.html',
-        ['mac', 'amd'], bug=308328)
-    self.Skip('conformance/rendering/gl-clear.html',
-        ['mac', 'amd'], bug=308328)
-    self.Skip('conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html',
-        ['mac', 'amd'], bug=308328)
-    self.Skip('conformance/textures/tex-image-and-sub-image-2d-with-image-data.html',
-        ['mac', 'amd'], bug=308328)
-    self.Skip('conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgb565.html',
-        ['mac', 'amd'], bug=308328)
-    self.Skip('conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba4444.html',
-        ['mac', 'amd'], bug=308328)
-    self.Skip('conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba5551.html',
-        ['mac', 'amd'], bug=308328)
-    self.Fail('conformance/canvas/drawingbuffer-test.html',
-        ['mac', 'amd'], bug=314997)
-
-    # Linux/NVIDIA failures
-    self.Fail('conformance/glsl/misc/empty_main.vert.html',
-        ['linux', ('nvidia', 0x1040)], bug=325884)
-    self.Fail('conformance/glsl/misc/gl_position_unset.vert.html',
-        ['linux', ('nvidia', 0x1040)], bug=325884)
-    self.Fail('conformance/uniforms/uniform-location.html',
-        ['linux', ('nvidia', 0x1040)], bug=325884)
-
     # Android failures
-    self.Fail('conformance/textures/texture-npot-video.html',
-        ['android'], bug=306485)
     # The following test is very slow and therefore times out on Android bot.
     self.Skip('conformance/rendering/multisample-corruption.html',
         ['android'])
-    self.Fail('conformance/canvas/drawingbuffer-test.html',
-        ['android'], bug=314997)
+    # The following test times out on Android bot.
+    self.Fail('conformance/uniforms/gl-uniform-arrays.html',
+        ['android'], bug=369300)
     self.Fail('conformance/glsl/misc/empty_main.vert.html',
         ['android'], bug=315976)
     self.Fail('conformance/glsl/misc/gl_position_unset.vert.html',
         ['android'], bug=315976)
+    # The following tests are disabled due to security issues.
+    self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-video.html',
+        ['android'], bug=334204)
+    self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html',
+        ['android'], bug=334204)
+    self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html',
+        ['android'], bug=334204)
+    self.Fail('conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html',
+        ['android'], bug=334204)
+    self.Fail('conformance/textures/texture-npot-video.html',
+        ['android'], bug=334204)
 
-    # Skip slow tests.
-    self.Skip('conformance/context/context-creation-and-destruction.html',
-        bug=322689)
-    self.Skip('conformance/rendering/multisample-corruption.html',
-        bug=322689)