autopkgtest: Don't output an info line for ignored failures

We already skip displaying most other types of results where no action
is required including ALWAYSFAIL, should do it for hints too
This commit is contained in:
Iain Lane 2020-07-08 22:24:59 +01:00 committed by Iain Lane
parent 65f327aa74
commit 6f5d6bb703

View File

@ -466,7 +466,7 @@ class AutopkgtestPolicy(BasePolicy):
# render HTML line for testsrc entry, but only when action is
# or may be required
if r - {'PASS', 'NEUTRAL', 'RUNNING-ALWAYSFAIL', 'ALWAYSFAIL'}:
if r - {'PASS', 'NEUTRAL', 'RUNNING-ALWAYSFAIL', 'ALWAYSFAIL', 'IGNORE-FAIL'}:
results_info.append("autopkgtest for %s: %s" % (testname, ', '.join(html_archmsg)))
if verdict != PolicyVerdict.PASS: