Commit a36f1b43 authored by xiaofeng@google.com's avatar xiaofeng@google.com

Exclude a failing test in MingW build.

parent 7f372559
...@@ -43,8 +43,9 @@ Installation ...@@ -43,8 +43,9 @@ Installation
$ protoc --version $ protoc --version
4) Run the tests: 4) Build and run the tests:
$ python setup.py build
$ python setup.py test $ python setup.py test
If some tests fail, this library may not work correctly on your If some tests fail, this library may not work correctly on your
......
...@@ -54,8 +54,8 @@ TEST(StringPrintfTest, Empty) { ...@@ -54,8 +54,8 @@ TEST(StringPrintfTest, Empty) {
} }
TEST(StringPrintfTest, Misc) { TEST(StringPrintfTest, Misc) {
// MSVC does not support $ format specifier. // MSVC and mingw does not support $ format specifier.
#if !defined(_MSC_VER) #if !defined(_MSC_VER) && !defined(__MINGW32__)
EXPECT_EQ("123hello w", StringPrintf("%3$d%2$s %1$c", 'w', "hello", 123)); EXPECT_EQ("123hello w", StringPrintf("%3$d%2$s %1$c", 'w', "hello", 123));
#endif // !_MSC_VER #endif // !_MSC_VER
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment