From a36f1b43e738a7f5e40ab11b621803d684c3d65a Mon Sep 17 00:00:00 2001 From: "xiaofeng@google.com" Date: Tue, 26 Feb 2013 17:49:03 +0000 Subject: Exclude a failing test in MingW build. --- src/google/protobuf/stubs/stringprintf_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/google/protobuf/stubs/stringprintf_unittest.cc') diff --git a/src/google/protobuf/stubs/stringprintf_unittest.cc b/src/google/protobuf/stubs/stringprintf_unittest.cc index a78a2027..de5ce59f 100644 --- a/src/google/protobuf/stubs/stringprintf_unittest.cc +++ b/src/google/protobuf/stubs/stringprintf_unittest.cc @@ -54,8 +54,8 @@ TEST(StringPrintfTest, Empty) { } TEST(StringPrintfTest, Misc) { -// MSVC does not support $ format specifier. -#if !defined(_MSC_VER) +// MSVC and mingw does not support $ format specifier. +#if !defined(_MSC_VER) && !defined(__MINGW32__) EXPECT_EQ("123hello w", StringPrintf("%3$d%2$s %1$c", 'w', "hello", 123)); #endif // !_MSC_VER } -- cgit v1.2.3