validate: Do not print Known error tests

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>
This commit is contained in:
Thibault Saunier 2022-04-21 10:38:24 -04:00
parent add38d537c
commit 4de4aa1010

View file

@ -2070,7 +2070,7 @@ class _TestsLauncher(Loggable):
return True return True
def print_result(self, current_test_num, test, total_num_tests, retry_on_failures=False): 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)) printc(str(test), color=utils.get_color_for_result(test.result))
length = 80 length = 80