[Piglit] [PATCH 3/6] remove old shell wrapper

Dylan Baker baker.dylan.c at gmail.com
Fri May 9 13:21:42 PDT 2014


This file was used before the new glsl parser was merged into mesa.

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 tests/glslparsertest/external-glslparsertest.sh | 33 -------------------------
 1 file changed, 33 deletions(-)
 delete mode 100755 tests/glslparsertest/external-glslparsertest.sh

diff --git a/tests/glslparsertest/external-glslparsertest.sh b/tests/glslparsertest/external-glslparsertest.sh
deleted file mode 100755
index 8006688..0000000
--- a/tests/glslparsertest/external-glslparsertest.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-# This is the wrapper script for using the standalone GLSL2 compiler
-# for the glslparsertest.  Drop a link named "glslcompiler" in this
-# directory pointing at the compiler binary.
-
-if test "x$2" != "xpass" -a "x$2" != "xfail"; then
-    echo "usage: external-glslparsertest.sh filename [pass|fail]"
-    exit 1;
-fi
-
-result=$(./tests/glslparsertest/glslcompiler $1)
-status=$?
-
-if test "x$2" = xpass; then
-    if test "$status" = "0"; then
-	echo PIGLIT: {\'result\': \'pass\' }
-    else
-	echo "shader source:"
-	cat $1
-	echo "compiler result:"
-	echo "$result"
-	echo PIGLIT: {\'result\': \'fail\' }
-    fi
-else
-    if test "$status" != "1"; then
-	echo "shader should have failed:"
-	cat $1
-	echo PIGLIT: {\'result\': \'fail\' }
-    else
-	echo PIGLIT: {\'result\': \'pass\' }
-    fi
-fi
-- 
2.0.0.rc2



More information about the Piglit mailing list