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 <emil.velikov@collabora.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:

committed by
Emil Velikov

parent
33cd136fa2
commit
79a95f19e6
@@ -60,7 +60,7 @@ fi
|
|||||||
|
|
||||||
echo "====== Testing optimization passes ======"
|
echo "====== Testing optimization passes ======"
|
||||||
for test in `find . -iname '*.opt_test'`; do
|
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
|
./$test > "$test.out" 2>&1
|
||||||
total=$((total+1))
|
total=$((total+1))
|
||||||
if $PYTHON2 $PYTHON_FLAGS $compare_ir "$test.expected" "$test.out" >/dev/null 2>&1; then
|
if $PYTHON2 $PYTHON_FLAGS $compare_ir "$test.expected" "$test.out" >/dev/null 2>&1; then
|
||||||
|
Reference in New Issue
Block a user