[Mesa-dev] [PATCH v2 07/23] glsl/tests/warnings-test: print only the test basename

Emil Velikov emil.l.velikov at gmail.com
Fri Mar 17 13:19:33 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Spamming the log with the (in some cases extremely long) test location
is of limited use.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/compiler/glsl/tests/warnings-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/glsl/tests/warnings-test.sh b/src/compiler/glsl/tests/warnings-test.sh
index 7e3767481a7..c15d6cddd2d 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
-- 
2.11.1



More information about the mesa-dev mailing list