summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-27 18:56:38 +0000
committerEmil Velikov <[email protected]>2017-03-28 15:31:24 +0100
commit79a95f19e64a1d2f855e3f8194b86dc0b2a78c3f (patch)
tree34bdcafc12ae1d77bff38747fea0a7204437b01f
parent33cd136fa267a44931b8f0230c5d68259ebec2d5 (diff)
glsl/tests/optimization-test: print only the test basedir/name
The relative/absolute path brings little to no benefit in being printed as testname. Trim it out. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
-rwxr-xr-xsrc/compiler/glsl/tests/optimization-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/tests/optimization-test.sh b/src/compiler/glsl/tests/optimization-test.sh
index 5069235868a..f280dd39495 100755
--- a/src/compiler/glsl/tests/optimization-test.sh
+++ b/src/compiler/glsl/tests/optimization-test.sh
@@ -60,7 +60,7 @@ fi
echo "====== Testing optimization passes ======"
for test in `find . -iname '*.opt_test'`; do
- echo -n "Testing $test..."
+ echo -n "Testing `echo $test| sed 's|.*/glsl/tests/||g'`..."
./$test > "$test.out" 2>&1
total=$((total+1))
if $PYTHON2 $PYTHON_FLAGS $compare_ir "$test.expected" "$test.out" >/dev/null 2>&1; then