aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-08-13 21:59:39 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-08-15 11:36:51 +0530
commitef326f85689412985dabe2dd1b4669178fc6f6b7 (patch)
tree811b1903aa61f8e063e7ecf163c7bf9157b8bc44
parent80fc8b0d1424c374264e312cfa02c3fdc53b3545 (diff)
downloadmeson-ef326f85689412985dabe2dd1b4669178fc6f6b7.zip
meson-ef326f85689412985dabe2dd1b4669178fc6f6b7.tar.gz
meson-ef326f85689412985dabe2dd1b4669178fc6f6b7.tar.bz2
mtest: Actually call colorize_console()
-rw-r--r--mesonbuild/mtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py
index 4aafe62..e0137a8 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: