summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-08-13 21:59:39 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2020-08-13 22:54:19 +0300
commitcdc2a67687bf69b3d81c9b3a29ddfa79389bc7fa (patch)
tree08e550d848dabb171a8604973a7d4ec3f8156dc6
parentde3eb99396735636f93538b6108a6be532817dd4 (diff)
downloadmeson-cdc2a67687bf69b3d81c9b3a29ddfa79389bc7fa.tar.gz
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 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