summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-22 15:53:21 +0000
committerEmil Velikov <[email protected]>2017-03-10 14:12:45 +0000
commit7473fcd40b5d105eac9592dabc88f8757555cfc9 (patch)
tree5482d9621e47acaa2f1e161d8b8040d38c63f8f2 /src/compiler/glsl
parent32d153c428cbb70aa4639f5a95689a7bb5c9d152 (diff)
glsl/tests: suffix .sh/.py files as applicable
This makes it easier/clearer as to: - if the file should have the execute bit set (.py should not) - do we need the shebang in the first place and if so what it should be Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rwxr-xr-xsrc/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh (renamed from src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf)4
-rwxr-xr-xsrc/compiler/glsl/glcpp/tests/glcpp-test.sh (renamed from src/compiler/glsl/glcpp/tests/glcpp-test)0
-rwxr-xr-xsrc/compiler/glsl/tests/compare_ir.py (renamed from src/compiler/glsl/tests/compare_ir)2
-rwxr-xr-xsrc/compiler/glsl/tests/optimization-test.sh (renamed from src/compiler/glsl/tests/optimization-test)4
-rwxr-xr-xsrc/compiler/glsl/tests/warnings-test.sh (renamed from src/compiler/glsl/tests/warnings-test)0
5 files changed, 5 insertions, 5 deletions
diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf b/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh
index c75370f48c3..c0ed9e04bc6 100755
--- a/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf
+++ b/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh
@@ -7,10 +7,10 @@
if [ ! -z "$srcdir" ]; then
testdir="$srcdir/glsl/glcpp/tests"
- glcpp_test="$srcdir/glsl/glcpp/tests/glcpp-test"
+ glcpp_test="$srcdir/glsl/glcpp/tests/glcpp-test.sh"
else
testdir=.
- glcpp_test=./glcpp-test
+ glcpp_test=./glcpp-test.sh
fi
total=0
diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test b/src/compiler/glsl/glcpp/tests/glcpp-test.sh
index 3945ee4f6ce..3945ee4f6ce 100755
--- a/src/compiler/glsl/glcpp/tests/glcpp-test
+++ b/src/compiler/glsl/glcpp/tests/glcpp-test.sh
diff --git a/src/compiler/glsl/tests/compare_ir b/src/compiler/glsl/tests/compare_ir.py
index a40fc810cf3..53207dd2ccb 100755
--- a/src/compiler/glsl/tests/compare_ir
+++ b/src/compiler/glsl/tests/compare_ir.py
@@ -34,7 +34,7 @@ import tempfile
from sexps import *
if len(sys.argv) != 3:
- print 'Usage: compare_ir <file1> <file2>'
+ print 'Usage: python2 ./compare_ir.py <file1> <file2>'
exit(1)
with open(sys.argv[1]) as f:
diff --git a/src/compiler/glsl/tests/optimization-test b/src/compiler/glsl/tests/optimization-test.sh
index 26a51be6980..9cc3cae3a35 100755
--- a/src/compiler/glsl/tests/optimization-test
+++ b/src/compiler/glsl/tests/optimization-test.sh
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
if [ ! -z "$srcdir" ]; then
- compare_ir=`pwd`/tests/compare_ir
+ compare_ir=`pwd`/tests/compare_ir.py
else
- compare_ir=./compare_ir
+ compare_ir=./compare_ir.py
fi
total=0
diff --git a/src/compiler/glsl/tests/warnings-test b/src/compiler/glsl/tests/warnings-test.sh
index 1bea4665394..1bea4665394 100755
--- a/src/compiler/glsl/tests/warnings-test
+++ b/src/compiler/glsl/tests/warnings-test.sh