From: Alexander Popov Date: Mon, 11 Mar 2019 15:33:11 +0000 (+0300) Subject: Improve the output of OR checks X-Git-Tag: v0.5.2~45 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=47226fe77ab14311a172343d3e306264d9062d88;p=kconfig-hardened-check.git Improve the output of OR checks --- diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index c92d352..d9ffba6 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -103,7 +103,7 @@ class OR: if i == 0: self.result = opt.result else: - self.result = 'CONFIG_{}: {} ("{}")'.format(opt.name, opt.result, opt.expected) + self.result = 'OK: CONFIG_{} "{}"'.format(opt.name, opt.expected) return True, self.result self.result = self.opts[0].result return False, self.result