summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2017-02-27 18:56:38 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-03-28 15:31:24 +0100
commit79a95f19e64a1d2f855e3f8194b86dc0b2a78c3f (patch)
tree34bdcafc12ae1d77bff38747fea0a7204437b01f /src/compiler
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 <emil.velikov@collabora.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'src/compiler')
-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 5069235868..f280dd3949 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