From: Emil Velikov Date: Mon, 27 Feb 2017 18:56:38 +0000 (+0000) Subject: glsl/tests/optimization-test: print only the test basedir/name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79a95f19e64a1d2f855e3f8194b86dc0b2a78c3f;p=mesa.git 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 Acked-by: Kenneth Graunke Reviewed-by: Eric Engestrom --- 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