Skip to content

Commit

Permalink
Exclude a failing test in MingW build.
Browse files Browse the repository at this point in the history
  • Loading branch information
xfxyjwf committed Feb 26, 2013
1 parent e3926f5 commit 9ba2eae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion python/README.txt
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/google/protobuf/stubs/stringprintf_unittest.cc
Expand Up @@ -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
}
Expand Down

0 comments on commit 9ba2eae

Please sign in to comment.