diff options
author | Jonny007-MKD <me@jonny007-mkd.de> | 2018-09-23 15:50:29 +0200 |
---|---|---|
committer | Jonny007-MKD <me@jonny007-mkd.de> | 2018-09-23 15:50:29 +0200 |
commit | 2b2b8d71c176c51bfd81ab1df7d174adbd29ff4f (patch) | |
tree | c10056eda44f82ea662a37b5c093b9d10dd928d4 | |
parent | cecea92af84a978479a9d875500edf0ee7b8aef3 (diff) | |
download | googletest-2b2b8d71c176c51bfd81ab1df7d174adbd29ff4f.tar.gz googletest-2b2b8d71c176c51bfd81ab1df7d174adbd29ff4f.tar.bz2 googletest-2b2b8d71c176c51bfd81ab1df7d174adbd29ff4f.zip |
Fix ColoredOutputTest.UsesColorsWhenTermSupportsColors again
-rw-r--r-- | googletest/test/gtest_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |