-
Notifications
You must be signed in to change notification settings - Fork 15.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.0.0-alpha-2 make check has 4 test failures on Windows/mingw #233
Comments
Could you print the detailed failure log, as well as the autoconf, automake, libtools and gcc version? I tested on the latest mingw before alpha-2 release and didn't find any failing tests. |
Hi , Steps followed:
In test-suit.log file i can see this error first. can any one help to resolve this??? gRPC is prompting to install protobuf 3.0 as prerequisite so am trying to install this package. because of this am stuck for gRPC. Thanks in advance. |
Add @cfallin to take a look at the failing ruby tests. |
All tests passed on Windows when we did the release testing, sorry. It's not possible to say any more about the cause without seeing your exact setup. However, it seems that all four failing tests are ones that compare output to a golden file in the source tree. So perhaps there is something systematically wrong with the way your source tree is laid out, or with how your build is interacting with the filesystem? |
Apologies for delay in response to this. I would imagine my source tree layout is fairly default - I just checkout and go without any messing around, but please do let me know if there is anything specific in mingw that you'd like me to check (I am more of a Java guy so all this stuff is alien to me - apologies!). At least some of the errors are windows vs unix line endings (\n vs \r\n) - BootstrapTest.GeneratedDescriptorMatches however is not so clear Requested version details, steps to checkout used, and output from autogen, configure, make and make check are in this gist |
Ah! I'm pretty sure I know what the issue is. Consider this failure from TextFormatTest:
Note the difference in line endings: \n vs. \r\n. As I suspected, this happens in every test that compares against a golden file, and your golden files have Windows-style line endings, so the contents do not match (the code generates only \n). The answer is to change the text format that |
Ah thanks - I learnt something about git today! All tests passing. If anyone else finds the same problem, check what your Set this to false with something like |
Couldn't find an existing issue for this. Trying to build to get grpc-java up and running using a fresh mingw installation.
Followed these instructions from grpc-java.
$ git clone https://github.com/google/protobuf.git
$ cd protobuf
$ git checkout v3.0.0-alpha-2
$ ./autogen.sh
$ ./configure
$ make
$ make check
4 tests are failing.
[----------] Global test environment tear-down
[==========] 1221 tests from 133 test cases ran. (378102 ms total)
[ PASSED ] 1217 tests.
[ FAILED ] 4 tests, listed below:
[ FAILED ] RubyGeneratorTest.GeneratorTest
[ FAILED ] BootstrapTest.GeneratedDescriptorMatches
[ FAILED ] TextFormatTest.Basic
[ FAILED ] TextFormatExtensionsTest.Extensions
This is on windows 7, mingw-base version as reported by mingw-get "2013072200".
The text was updated successfully, but these errors were encountered: