[Piglit] [PATCH 4/4] Remove old ATI_fs test

Miklós Máté mtmkls at gmail.com
Sat Dec 2 22:36:05 UTC 2017


It's a subset of spec/ati_fragment_shader/api-gen

Signed-off-by: Miklós Máté <mtmkls at gmail.com>
---
 tests/all.py                      |  1 -
 tests/shaders/CMakeLists.gl.txt   |  1 -
 tests/shaders/ati-fs-bad-delete.c | 58 ---------------------------------------
 3 files changed, 60 deletions(-)
 delete mode 100644 tests/shaders/ati-fs-bad-delete.c

diff --git a/tests/all.py b/tests/all.py
index 8f0492079..77b65ca57 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -2098,7 +2098,6 @@ with profile.test_list.group_manager(
         grouptools.join('spec', 'ATI_fragment_shader')) as g:
     g(['ati_fragment_shader-api-alphafirst'])
     g(['ati_fragment_shader-api-gen'])
-    g(['ati-fs-bad-delete'])
     g(['ati_fragment_shader-error01-genzero'])
     g(['ati_fragment_shader-error02-inside'])
     g(['ati_fragment_shader-error03-outside'])
diff --git a/tests/shaders/CMakeLists.gl.txt b/tests/shaders/CMakeLists.gl.txt
index 7090d94ed..1586216e4 100644
--- a/tests/shaders/CMakeLists.gl.txt
+++ b/tests/shaders/CMakeLists.gl.txt
@@ -13,7 +13,6 @@ link_libraries (
 piglit_add_executable (glsl-max-vertex-attrib glsl-max-vertex-attrib.c)
 piglit_add_executable (activeprogram-bad-program activeprogram-bad-program.c)
 piglit_add_executable (activeprogram-get activeprogram-get.c)
-piglit_add_executable (ati-fs-bad-delete ati-fs-bad-delete.c)
 piglit_add_executable (attribute0 attribute0.c)
 piglit_add_executable (built-in-constants built-in-constants.c parser_utils.c)
 piglit_add_executable (createshaderprogram-bad-type createshaderprogram-bad-type.c)
diff --git a/tests/shaders/ati-fs-bad-delete.c b/tests/shaders/ati-fs-bad-delete.c
deleted file mode 100644
index b193da90c..000000000
--- a/tests/shaders/ati-fs-bad-delete.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright © 2009 Intel Corporation
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- *
- * Authors:
- *    Eric Anholt <eric at anholt.net>
- *
- */
-
-/**
- * @file ati-fs-bad-delete.c
- *
- * Tests that ATI_fragment_shader's delete works correctly on an undefined
- * shader.
- */
-
-#include "piglit-util-gl.h"
-
-PIGLIT_GL_TEST_CONFIG_BEGIN
-
-	config.supports_gl_compat_version = 10;
-
-	config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
-
-PIGLIT_GL_TEST_CONFIG_END
-
-enum piglit_result
-piglit_display(void)
-{
-	glDeleteFragmentShaderATI(1001);
-
-	return glGetError() == 0 ? PIGLIT_PASS : PIGLIT_FAIL;
-}
-
-void piglit_init(int argc, char **argv)
-{
-	piglit_automatic = GL_TRUE;
-
-	piglit_require_extension("GL_ATI_fragment_shader");
-}
-- 
2.15.0.rc0



More information about the Piglit mailing list