From 283f6ca993b725f92270e5aa966f60ebc96316d1 Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Wed, 8 Jul 2020 22:24:59 +0100 Subject: [PATCH] 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 --- britney2/policies/autopkgtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 8424111..c86dc6c 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -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: