aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests
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/tests
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/tests')
-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
3 files changed, 3 insertions, 3 deletions
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