validate: Do not print Known error tests
authorThibault Saunier <tsaunier@igalia.com>
Thu, 21 Apr 2022 14:38:24 +0000 (10:38 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 21 Apr 2022 16:50:43 +0000 (12:50 -0400)
Those are passing tests in practice and it doesn't give any useful information

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2264>

subprojects/gst-devtools/validate/launcher/baseclasses.py

index 8b2cf76..0749444 100644 (file)
@@ -2070,7 +2070,7 @@ class _TestsLauncher(Loggable):
         return True
 
     def print_result(self, current_test_num, test, total_num_tests, retry_on_failures=False):
-        if test.result != Result.PASSED and (not retry_on_failures or test.max_retries):
+        if test.result not in [Result.PASSED, Result.KNOWN_ERROR] and (not retry_on_failures or test.max_retries):
             printc(str(test), color=utils.get_color_for_result(test.result))
 
         length = 80