summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gall <tom.gall@linaro.org>2013-03-27 14:36:50 -0500
committerTom Gall <tom.gall@linaro.org>2013-03-27 14:36:50 -0500
commit535cafb7d8012cef8dbf2aa51a327e545b0c4f5f (patch)
treea5c8d4c6813047be6934f4ecc4086caecf872000
parentf953bb3e1a887cc3a231e515dc293496001d082b (diff)
don't bother to include check against expected result. glslparser
test will do that for you and adjust the pass / fail result accordingly.
-rwxr-xr-xandroid/scripts/piglit-run-glslparser.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/android/scripts/piglit-run-glslparser.sh b/android/scripts/piglit-run-glslparser.sh
index bf1b5cc..cebe6c3 100755
--- a/android/scripts/piglit-run-glslparser.sh
+++ b/android/scripts/piglit-run-glslparser.sh
@@ -23,22 +23,12 @@ do
case $RESULT in
*"$PSTRING"*)
- if [ "$RESULTEXPECTED" = "pass" ]; then
- echo "glslparser ${file}: pass"
- else
- echo "glslparser ${file}: fail"
- fi
- ;;
+ echo "glslparser ${file}: pass";;
*"$SSTRING"*) echo "glslparser ${file}: skip";;
*"$FSTRING"*)
- if [ "$RESULTEXPECTED" = "fail" ]; then
- echo "glslparser ${file}: pass"
- else
- echo "glslparser ${file}: fail"
- fi
- ;;
+ echo "glslparser ${file}: fail";;
*) echo "glslparser ${file}: fail";;
esac