From ef326f85689412985dabe2dd1b4669178fc6f6b7 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 4aafe6257..e0137a8fc 100644 --- a/mesonbuild/mtest.py +++ b/mesonbuild/mtest.py @@ -906,7 +906,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: decorator = mlog.red elif result.res is TestResult.SKIP: