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

Update RenderingIface_TEST's RegisterEngine test to only load the specified engine #1098

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Jan 10, 2025

🦟 Bug fix

Fixes #1072

Summary

The RenderingIface_TEST tried to load the ogre (ogre 1.x) plugin even when GZ_ENGINE_TO_TEST set to ogre2. This PR updates the test to ensure that the specified engine is used in the test. While doing this I found and fixed a bug when unregistering a default engine by name (e.g. ogre2).

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.

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Signed-off-by: Ian Chen <[email protected]>
@iche033 iche033 merged commit 52ac1de into gz-rendering9 Jan 14, 2025
11 of 12 checks passed
@iche033 iche033 deleted the renderiface_test_no_display branch January 14, 2025 17:05
iche033 added a commit that referenced this pull request Jan 14, 2025
@iche033
Copy link
Contributor Author

iche033 commented Jan 14, 2025

@Mergifyio backport gz-rendering8

Copy link

mergify bot commented Jan 14, 2025

backport gz-rendering8

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jan 14, 2025
Signed-off-by: Ian Chen <[email protected]>
(cherry picked from commit 52ac1de)
iche033 added a commit that referenced this pull request Jan 14, 2025
Signed-off-by: Ian Chen <[email protected]>
(cherry picked from commit 52ac1de)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏛️ ionic Gazebo Ionic 🪵 jetty Gazebo Jetty
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

UNIT_RenderingIface_TEST_ogre2_gl3plus test tries to load ogre and fails if it is not able to load it
2 participants