aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mtest.py
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 /mesonbuild/mtest.py
parentde3eb99396735636f93538b6108a6be532817dd4 (diff)
downloadmeson-cdc2a67687bf69b3d81c9b3a29ddfa79389bc7fa.zip
meson-cdc2a67687bf69b3d81c9b3a29ddfa79389bc7fa.tar.gz
meson-cdc2a67687bf69b3d81c9b3a29ddfa79389bc7fa.tar.bz2
mtest: Actually call colorize_console()
Diffstat (limited to 'mesonbuild/mtest.py')
-rw-r--r--mesonbuild/mtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py
index e320d54..d7fe54a 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