diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py index 0661fa529..34ab36aa9 100644 --- a/mesonbuild/mtest.py +++ b/mesonbuild/mtest.py @@ -1817,6 +1817,8 @@ class TestHarness: test.exe_wrapper and test.exe_wrapper.found()): env['MESON_EXE_WRAPPER'] = join_args(test.exe_wrapper.get_command()) env['MESON_TEST_ITERATION'] = str(iteration + 1) + env.pop('CLICOLOR_FORCE') + env.pop('FORCE_COLOR') return SingleTestRunner(test, env, name, options) def process_test_result(self, result: TestRun) -> None: