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:
Emil Velikov
2017-02-22 15:53:21 +00:00
committed by Emil Velikov
parent 32d153c428
commit 7473fcd40b
6 changed files with 9 additions and 9 deletions

View File

@@ -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:

View File

@@ -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