diff --git a/test/libcxx/test/config.py b/test/libcxx/test/config.py index f2435b7d..1ec1d1f7 100644 --- a/test/libcxx/test/config.py +++ b/test/libcxx/test/config.py @@ -479,15 +479,7 @@ class Configuration(object): if use_color != '': self.lit_config.fatal('Invalid value for color_diagnostics "%s".' % use_color) - cxx_type = self.cxx.type - if cxx_type is None: - self.lit_config.warning( - 'Unable to force color output for unknown compiler "%s"' - % cxx.path) - elif cxx_type in ['clang', 'apple-clang']: - self.cxx.flags += ['-fcolor-diagnostics'] - elif cxx_type == 'gcc': - self.cxx.flags += ['-fdiagnostics-color=always'] + self.cxx.flags += ['-fdiagnostics-color=always'] def configure_debug_mode(self): debug_level = self.get_lit_conf('debug_level', None)