Fix ColoredOutputTest.UsesColorsWhenTermSupportsColors again

This commit is contained in:
Jonny007-MKD 2018-09-23 15:50:29 +02:00
parent cecea92af8
commit 2b2b8d71c1

View File

@ -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");