From 79a95f19e64a1d2f855e3f8194b86dc0b2a78c3f Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 27 Feb 2017 18:56:38 +0000 Subject: 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 --- src/compiler/glsl/tests/optimization-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3