TestsManager: stop displaying blacklisted tests on stdout
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 30 Jan 2019 00:24:16 +0000 (01:24 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 30 Jan 2019 00:27:32 +0000 (00:27 +0000)
It's basically spam, better suited to the debug logs

validate/launcher/baseclasses.py

index b8fcc86..02b75b0 100644 (file)
@@ -1266,8 +1266,8 @@ class TestsManager(Loggable):
 
     def set_blacklists(self):
         if self.blacklisted_tests:
-            printc("\nCurrently 'hardcoded' %s blacklisted tests:" %
-                   self.name, Colors.WARNING, title_char='-')
+            self.info("Currently 'hardcoded' %s blacklisted tests:" %
+                      self.name)
 
         if self.options.check_bugs_status:
             if not check_bugs_resolution(self.blacklisted_tests):
@@ -1276,7 +1276,7 @@ class TestsManager(Loggable):
         for name, bug in self.blacklisted_tests:
             self._add_blacklist(name)
             if not self.options.check_bugs_status:
-                print("  + %s \n   --> bug: %s\n" % (name, bug))
+                self.info("  + %s --> bug: %s" % (name, bug))
 
         return True