Skip to content
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 macOS test failures by registering components in the core library #2220

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Nov 1, 2023

🦟 Bug fix

Fixes #2204
Needs gazebo-tooling/release-tools#1051

Summary

A better solution to the problem of components being registered by plugins is in #1836, but backporting that to citadel was not trivial. The solution in this PR is to force-register all built-in components in the core library by including the components.hh header (only for macOS). This fixes all of the gz-sim tests mentioned in #2204 locally.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

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.

@azeey azeey requested a review from mjcarroll as a code owner November 1, 2023 18:55
@github-actions github-actions bot added the 🏰 citadel Ignition Citadel label Nov 1, 2023
@azeey
Copy link
Contributor Author

azeey commented Nov 1, 2023

Not sure why EntityFeatureMapFixture is failing, but it's also failing on the stable CI, so I'll go ahead and merge.

@azeey azeey merged commit 20ee4df into gazebosim:ign-gazebo3 Nov 1, 2023
5 checks passed
@azeey azeey deleted the register_comps_in_core branch November 1, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants