Also build when included in source.#1212
Conversation
|
Thank you for your contribution. |
|
Hi @gennadiycivil , Sorry for the late reply. Somehow I did not have the notifications setup. But now they are done correctly. Well, speaking of tests, there is really not a way for me to supply a test to be checked into this repo. It can only really be tested when this entire repository is included in source into some other repositories. That said, I do have some projects that validates this PR. As a reference, the master branch of https://github.com/qzmfranklin/torrent, after a Hope that helps clarify the testing situation. Also, if there is anything I can do to actually check in the test that would be awesome. It could be that I just do not know how to. Thanks! |
|
@qzmfranklin Could you please provide output what happens if we dont make this change. Following the example you provided, the master branch of https://github.com/qzmfranklin/torrent, after a git submodule update --init --recursive, includes my fork of googletest that had exactly the patch of this PR. The googletest repo is a submodule under third_party/gtest in that repo. You can build googletest, i.e., the gtest_main target like this: What happens if we dont make the change and you issue Thanks |
|
Hi @gennadiycivil , Thanks for your great patience and the willingness to help! So, If I revert this change, and issue This error message is, after some debugging work locally on my machines, that the This PR solves the above problem by changing Hope that helps and thanks really a lot for your time! |
By using a different fork, for now, with the understanding that we should switch to the google official googletest repo as soon as the issue below is resolved: google/googletest#1212
This PR enables googletest to be correctly built when it is included in other Bazel projects in source, e.g., third_party/googletest.