Improve the output of OR checks
authorAlexander Popov <alex.popov@linux.com>
Mon, 11 Mar 2019 15:33:11 +0000 (18:33 +0300)
committerAlexander Popov <alex.popov@linux.com>
Mon, 11 Mar 2019 15:33:11 +0000 (18:33 +0300)
kconfig-hardened-check.py

index c92d3529f8db88ef9c93c9af420ffdcc4e2e81c2..d9ffba637eec4b9ef603f74bb2b742b209bcbbfe 100755 (executable)
@@ -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