The file all.py is used to add test case into Piglit, and 47 test cases are added twice with the similar name.
The test case is added by " import_glsl_parser_tests(arb_shader_texture_lod, os.path.join(generatedTestDir, 'spec', 'arb_shader_texture_lod'), ['compiler']) " with the name of (spec/ARB_shader_texture_lod/compiler/***) . And added again by "import_glsl_parser_tests(profile.tests, generatedTestDir, ['spec'])" with the name (spec/arb_shader_texture_lod/compiler/***). Below is the duplicate test case list in results.json: --- spec/ARB_shader_texture_lod/compiler/tex_grad-shadow1D-1DShadow-vec3.frag spec/arb_shader_texture_lod/compiler/tex_grad-shadow1D-1DShadow-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_grad-shadow1D-1DShadow-vec3.vert spec/arb_shader_texture_lod/compiler/tex_grad-shadow1D-1DShadow-vec3.vert spec/ARB_shader_texture_lod/compiler/tex_grad-shadow1DProj-1DShadow-vec4.frag spec/arb_shader_texture_lod/compiler/tex_grad-shadow1DProj-1DShadow-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_grad-shadow1DProj-1DShadow-vec4.vert spec/arb_shader_texture_lod/compiler/tex_grad-shadow1DProj-1DShadow-vec4.vert spec/ARB_shader_texture_lod/compiler/tex_grad-shadow2D-2DShadow-vec3.frag spec/arb_shader_texture_lod/compiler/tex_grad-shadow2D-2DShadow-vec3.frag spec/arb_shader_texture_lod/compiler/tex_grad-shadow2D-2DShadow-vec3.vert spec/ARB_shader_texture_lod/compiler/tex_grad-shadow2D-2DShadow-vec3.vert spec/ARB_shader_texture_lod/compiler/tex_grad-shadow2DProj-2DShadow-vec4.frag spec/arb_shader_texture_lod/compiler/tex_grad-shadow2DProj-2DShadow-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_grad-shadow2DProj-2DShadow-vec4.vert spec/arb_shader_texture_lod/compiler/tex_grad-shadow2DProj-2DShadow-vec4.vert spec/ARB_shader_texture_lod/compiler/tex_grad-shadow2DRect-2DRectShadow-vec3.frag spec/arb_shader_texture_lod/compiler/tex_grad-shadow2DRect-2DRectShadow-vec3.frag spec/arb_shader_texture_lod/compiler/tex_grad-shadow2DRect-2DRectShadow-vec3.vert spec/ARB_shader_texture_lod/compiler/tex_grad-shadow2DRect-2DRectShadow-vec3.vert spec/arb_shader_texture_lod/compiler/tex_grad-shadow2DRectProj-2DRectShadow-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_grad-shadow2DRectProj-2DRectShadow-vec4.frag spec/arb_shader_texture_lod/compiler/tex_grad-shadow2DRectProj-2DRectShadow-vec4.vert spec/ARB_shader_texture_lod/compiler/tex_grad-shadow2DRectProj-2DRectShadow-vec4.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture1D-1D-float.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture1D-1D-float.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture1D-1D-float.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture1D-1D-float.vert spec/ARB_shader_texture_lod/compiler/tex_grad-texture1DProj-1D-vec2.frag spec/arb_shader_texture_lod/compiler/tex_grad-texture1DProj-1D-vec2.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture1DProj-1D-vec2.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture1DProj-1D-vec2.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture1DProj-1D-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture1DProj-1D-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture1DProj-1D-vec4.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture1DProj-1D-vec4.vert spec/ARB_shader_texture_lod/compiler/tex_grad-texture2D-2D-vec2.frag spec/arb_shader_texture_lod/compiler/tex_grad-texture2D-2D-vec2.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture2D-2D-vec2.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture2D-2D-vec2.vert spec/ARB_shader_texture_lod/compiler/tex_grad-texture2DProj-2D-vec3.frag spec/arb_shader_texture_lod/compiler/tex_grad-texture2DProj-2D-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture2DProj-2D-vec3.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture2DProj-2D-vec3.vert spec/ARB_shader_texture_lod/compiler/tex_grad-texture2DProj-2D-vec4.frag spec/arb_shader_texture_lod/compiler/tex_grad-texture2DProj-2D-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture2DProj-2D-vec4.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture2DProj-2D-vec4.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture2DRect-2DRect-vec2.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture2DRect-2DRect-vec2.frag spec/arb_shader_texture_lod/compiler/tex_grad-texture2DRect-2DRect-vec2.vert spec/ARB_shader_texture_lod/compiler/tex_grad-texture2DRect-2DRect-vec2.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture2DRectProj-2DRect-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture2DRectProj-2DRect-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture2DRectProj-2DRect-vec3.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture2DRectProj-2DRect-vec3.vert spec/ARB_shader_texture_lod/compiler/tex_grad-texture3D-3D-vec3.frag spec/arb_shader_texture_lod/compiler/tex_grad-texture3D-3D-vec3.frag spec/arb_shader_texture_lod/compiler/tex_grad-texture3D-3D-vec3.vert spec/ARB_shader_texture_lod/compiler/tex_grad-texture3D-3D-vec3.vert spec/arb_shader_texture_lod/compiler/tex_grad-texture3DProj-3D-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_grad-texture3DProj-3D-vec4.frag spec/arb_shader_texture_lod/compiler/tex_grad-texture3DProj-3D-vec4.vert spec/ARB_shader_texture_lod/compiler/tex_grad-texture3DProj-3D-vec4.vert spec/ARB_shader_texture_lod/compiler/tex_grad-textureCube-Cube-vec3.frag spec/arb_shader_texture_lod/compiler/tex_grad-textureCube-Cube-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_grad-textureCube-Cube-vec3.vert spec/arb_shader_texture_lod/compiler/tex_grad-textureCube-Cube-vec3.vert spec/arb_shader_texture_lod/compiler/tex_lod-shadow1D-1DShadow-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_lod-shadow1D-1DShadow-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_lod-shadow1DProj-1DShadow-vec4.frag spec/arb_shader_texture_lod/compiler/tex_lod-shadow1DProj-1DShadow-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_lod-shadow2D-2DShadow-vec3.frag spec/arb_shader_texture_lod/compiler/tex_lod-shadow2D-2DShadow-vec3.frag spec/arb_shader_texture_lod/compiler/tex_lod-shadow2DProj-2DShadow-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_lod-shadow2DProj-2DShadow-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_lod-texture1D-1D-float.frag spec/arb_shader_texture_lod/compiler/tex_lod-texture1D-1D-float.frag spec/arb_shader_texture_lod/compiler/tex_lod-texture1DProj-1D-vec2.frag spec/ARB_shader_texture_lod/compiler/tex_lod-texture1DProj-1D-vec2.frag spec/arb_shader_texture_lod/compiler/tex_lod-texture1DProj-1D-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_lod-texture1DProj-1D-vec4.frag spec/ARB_shader_texture_lod/compiler/tex_lod-texture2D-2D-vec2.frag spec/arb_shader_texture_lod/compiler/tex_lod-texture2D-2D-vec2.frag spec/ARB_shader_texture_lod/compiler/tex_lod-texture2DProj-2D-vec3.frag spec/arb_shader_texture_lod/compiler/tex_lod-texture2DProj-2D-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_lod-texture2DProj-2D-vec4.frag spec/arb_shader_texture_lod/compiler/tex_lod-texture2DProj-2D-vec4.frag spec/arb_shader_texture_lod/compiler/tex_lod-texture3D-3D-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_lod-texture3D-3D-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_lod-texture3DProj-3D-vec4.frag spec/arb_shader_texture_lod/compiler/tex_lod-texture3DProj-3D-vec4.frag spec/arb_shader_texture_lod/compiler/tex_lod-textureCube-Cube-vec3.frag spec/ARB_shader_texture_lod/compiler/tex_lod-textureCube-Cube-vec3.frag --- From ce65219fbcc8df46e5171b3082d25d8d553b8ec4 Mon Sep 17 00:00:00 2001 From: Wang Shuo <[email protected]> Date: Thu, 25 Dec 2014 21:50:47 +0800 Subject: [PATCH] Remove the duplicate test case in Piglit --- tests/all.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/all.py b/tests/all.py index 92e1d5d..0d9a971 100644 --- a/tests/all.py +++ b/tests/all.py @@ -2108,9 +2108,6 @@ add_shader_test_dir(arb_shader_bit_encoding['execution'], # Group ARB_shader_texture_lod arb_shader_texture_lod = {} spec['ARB_shader_texture_lod'] = arb_shader_texture_lod -import_glsl_parser_tests(arb_shader_texture_lod, - os.path.join(generatedTestDir, 'spec', 'arb_shader_texture_lod'), - ['compiler']) arb_shader_texture_lod['execution'] = {} add_shader_test_dir(arb_shader_texture_lod['execution'], os.path.join(testsDir, 'spec', 'arb_shader_texture_lod', 'execution'), -- 1.8.3.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
