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 <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:

committed by
Emil Velikov

parent
32d153c428
commit
7473fcd40b
@@ -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:
|
@@ -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
|
Reference in New Issue
Block a user