From 2b2b8d71c176c51bfd81ab1df7d174adbd29ff4f Mon Sep 17 00:00:00 2001 From: Jonny007-MKD Date: Sun, 23 Sep 2018 15:50:29 +0200 Subject: [PATCH] Fix ColoredOutputTest.UsesColorsWhenTermSupportsColors again --- googletest/test/gtest_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googletest/test/gtest_unittest.cc b/googletest/test/gtest_unittest.cc index 721e0cbd..a5d0df7b 100644 --- a/googletest/test/gtest_unittest.cc +++ b/googletest/test/gtest_unittest.cc @@ -6858,7 +6858,7 @@ TEST(ColoredOutputTest, UsesColorsWhenStdoutIsTty) { TEST(ColoredOutputTest, UsesColorsWhenTermSupportsColors) { GTEST_FLAG(color) = "auto"; -#if GTEST_OS_WINDOWS +#if GTEST_OS_WINDOWS && !GTEST_OS_WINDOWS_MINGW // On Windows, we ignore the TERM variable as it's usually not set. SetEnv("TERM", "dumb");