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 <emil.velikov@collabora.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
Emil Velikov
2017-02-26 21:24:42 +00:00
committed by Emil Velikov
parent 1c58d08bd9
commit bd4be79fc5

View File

@@ -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