diff options
author | Matthieu Longo <mateo.longo@gmail.com> | 2018-09-17 16:17:10 (GMT) |
---|---|---|
committer | Matthieu Longo <matthieu.longo@murex.com> | 2018-09-18 16:29:42 (GMT) |
commit | c9fe337ae255baac2c72b4a1099bbad4e181a3a8 (patch) | |
tree | b3053073868cd21a3bb4f47914973a845f827924 /googletest/test/gtest_unittest.cc | |
parent | bc2d0935b74917be0821bfd834472ed9cc4a3b5b (diff) | |
download | googletest-c9fe337ae255baac2c72b4a1099bbad4e181a3a8.zip googletest-c9fe337ae255baac2c72b4a1099bbad4e181a3a8.tar.gz googletest-c9fe337ae255baac2c72b4a1099bbad4e181a3a8.tar.bz2 |
[msys] fix unittest ColoredOutputTest.UsesColorsWhenTermSupportsColorsrefs/pull/1843/head
Diffstat (limited to 'googletest/test/gtest_unittest.cc')
-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 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"); |