Exclude a failing test in MingW build.

pull/3335/head
xiaofeng@google.com 12 years ago
parent 7f372559cc
commit a36f1b43e7
  1. 3
      python/README.txt
  2. 4
      src/google/protobuf/stubs/stringprintf_unittest.cc

@ -43,8 +43,9 @@ Installation
$ protoc --version
4) Run the tests:
4) Build and run the tests:
$ python setup.py build
$ python setup.py test
If some tests fail, this library may not work correctly on your

@ -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
}

Loading…
Cancel
Save