summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-28 12:08:52 +0000
committerEmil Velikov <[email protected]>2017-03-28 15:31:24 +0100
commit182d48ceb9e58eb53b52436b2cd6010de072d29b (patch)
treecb4fa0814ec4ed542863c900e84965555c2e3ead /src/compiler/glsl/glcpp
parentaddf62946d6c73885dd261099cddc06d3c910f17 (diff)
glcpp/tests/glcpp-test: print only the test basename
Signed-off-by: Emil Velikov <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glcpp')
-rwxr-xr-xsrc/compiler/glsl/glcpp/tests/glcpp-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test.sh b/src/compiler/glsl/glcpp/tests/glcpp-test.sh
index 3546a3e0168..474e8ef5307 100755
--- a/src/compiler/glsl/glcpp/tests/glcpp-test.sh
+++ b/src/compiler/glsl/glcpp/tests/glcpp-test.sh
@@ -73,7 +73,7 @@ echo "====== Testing for correctness ======"
for test in $testdir/*.c; do
out=$outdir/${test##*/}.out
- printf "Testing $test... > $out ($test.expected) "
+ printf "Testing `basename $test`... "
$glcpp $(test_specific_args $test) < $test > $out 2>&1
total=$((total+1))
if cmp $test.expected $out >/dev/null 2>&1; then
@@ -92,7 +92,7 @@ echo ""
if [ "$do_valgrind" = "yes" ]; then
echo "====== Testing for valgrind cleanliness ======"
for test in $testdir/*.c; do
- printf "Testing $test with valgrind..."
+ printf "Testing `basename $test` with valgrind..."
valgrind --error-exitcode=31 --log-file=$test.valgrind-errors $glcpp $(test_specific_args $test) < $test >/dev/null 2>&1
if [ "$?" = "31" ]; then
echo "ERRORS"