radeonsi: fix test script's output

This line was dropped in the last refactoring. We need
to clearly state to the user if the new results are
different to the expected ones.

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12215>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2021-08-05 16:02:31 +02:00 committed by Marge Bot
parent ade66c1aeb
commit 4a69667cdd
1 changed files with 4 additions and 1 deletions

View File

@ -172,7 +172,10 @@ def verify_results(baseline1, baseline2):
# - if no baseline, baseline2 will contain the list of failures
# - if there's a baseline, baseline2 will contain the diff
# So in both cases, an empty baseline2 files means a successful run
return len(open(baseline2, 'r').readlines()) == 0
if len(open(baseline2, 'r').readlines()) != 0:
print_red('New errors. Check {}'.format(baseline2))
return False
return True
# piglit test
if args.piglit: