From cdc2a67687bf69b3d81c9b3a29ddfa79389bc7fa Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 13 Aug 2020 21:59:39 +0530 Subject: [PATCH] mtest: Actually call colorize_console() --- mesonbuild/mtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py index e320d54a9..d7fe54ad8 100644 --- a/mesonbuild/mtest.py +++ b/mesonbuild/mtest.py @@ -907,7 +907,7 @@ class TestHarness: if result.res is TestResult.FAIL: result_str += ' ' + returncode_to_status(result.returncode) if not self.options.quiet or result.res not in ok_statuses: - if result.res not in ok_statuses and mlog.colorize_console: + if result.res not in ok_statuses and mlog.colorize_console(): if result.res in bad_statuses: self.collected_failures.append(result_str) decorator = mlog.red