diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2014-04-30 06:07:39 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2014-05-14 10:30:48 -0700 |
commit | a5d4538bdb668d7c7044c81ed1c7434ae3f10718 (patch) | |
tree | 5ee1d51b9d5658a033129a05892fce383d886fc9 /tests/glslparsertest | |
parent | acb90776f4954cc68e647eaefed2c7d5ce59bf72 (diff) |
remove old shell wrapper
This file was used before the new glsl parser was merged into mesa.
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'tests/glslparsertest')
-rwxr-xr-x | tests/glslparsertest/external-glslparsertest.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/glslparsertest/external-glslparsertest.sh b/tests/glslparsertest/external-glslparsertest.sh deleted file mode 100755 index 8006688ae..000000000 --- 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 |