-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix gz_test when using a CMake generator different from make #204
Conversation
(I am on an airport and I have some trouble using a proper terminal, so the DCO fix will have to wait for PST afternoon/evening). |
Related downstream PR: conda-forge/staged-recipes#20749 . |
Signed-off-by: Silvio <[email protected]>
Fixed! |
Very likely not the only place. That is also the intention of using this: gazebosim/gz-cmake#301 |
@mjcarroll I may be asking something stupid, but how do I know the proper way of splitting the line to fit the 80 column limit? |
There is no official rule on how to split a line. Generally, we try to split it at a logical point. In your case, you could move the |
Thanks! |
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Nate Koenig <[email protected]> Signed-off-by: Nate Koenig <[email protected]> Co-authored-by: Nate Koenig <[email protected]>
🦟 Bug fix
The PR fixes a failure when running test using CMake generators different from
Unix Makefiles
, such asninja
.Summary
This fix permits to run the test suite without problems also when using the
ninja
generator.I am not sure this make the test run for all possible CMake generators (for example, I guess it would fail for Multiple-Config Generators) but anyhow it is a strict improvement.
Without this fix, running the tests with ninja would fail with:
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.