From bd4be79fc5ba1dfb18ca25d7f2a39cfc9b23fdd2 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 26 Feb 2017 21:24:42 +0000 Subject: glsl/tests/warnings-test: print only the test basename Spamming the log with the (in some cases extremely long) test location is of limited use. Signed-off-by: Emil Velikov Acked-by: Kenneth Graunke Reviewed-by: Eric Engestrom --- src/compiler/glsl/tests/warnings-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/glsl/tests') diff --git a/src/compiler/glsl/tests/warnings-test.sh b/src/compiler/glsl/tests/warnings-test.sh index 14ab08c30de..d5dc3b5974f 100755 --- a/src/compiler/glsl/tests/warnings-test.sh +++ b/src/compiler/glsl/tests/warnings-test.sh @@ -30,7 +30,7 @@ echo "====== Testing compilation output ======" for test in $srcdir/$tests_relative_dir/*.vert; do test_output="$abs_builddir/$tests_relative_dir/`basename $test`" mkdir -p $abs_builddir/$tests_relative_dir/ - echo -n "Testing $test..." + echo -n "Testing `basename $test`..." $compiler --just-log --version 150 "$test" > "$test_output.out" 2>&1 total=$((total+1)) if diff "$test.expected" "$test_output.out" >/dev/null 2>&1; then -- cgit v1.2.3