summaryrefslogtreecommitdiffstats
path: root/googletest/test
diff options
context:
space:
mode:
authorMatthieu Longo <mateo.longo@gmail.com>2018-09-17 16:17:10 (GMT)
committerMatthieu Longo <matthieu.longo@murex.com>2018-09-18 16:29:42 (GMT)
commitc9fe337ae255baac2c72b4a1099bbad4e181a3a8 (patch)
treeb3053073868cd21a3bb4f47914973a845f827924 /googletest/test
parentbc2d0935b74917be0821bfd834472ed9cc4a3b5b (diff)
downloadgoogletest-c9fe337ae255baac2c72b4a1099bbad4e181a3a8.zip
googletest-c9fe337ae255baac2c72b4a1099bbad4e181a3a8.tar.gz
googletest-c9fe337ae255baac2c72b4a1099bbad4e181a3a8.tar.bz2
[msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColorsrefs/pull/1843/head
Diffstat (limited to 'googletest/test')
-rw-r--r--googletest/test/gtest_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/gtest_unittest.cc b/googletest/test/gtest_unittest.cc
index 701ba20..c03b367 100644
--- a/googletest/test/gtest_unittest.cc
+++ b/googletest/test/gtest_unittest.cc
@@ -6826,7 +6826,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");