gazebosim / gz-physics

Abstract physics interface designed to support simulation and rapid development of robot applications.
https://gazebosim.org
Apache License 2.0
63 stars 38 forks source link

Get bullet version from cmake instead of API #591

Closed scpeters closed 5 months ago

scpeters commented 5 months ago

🦟 Bug fix

Split out from #574 with acknowledgement to @iche033

Summary

Currently the bullet API is called from a common test to get the bullet version in order to disable portions of a test that require new features of bullet. This moves the version checking to cmake with VERSION_* comparison operators and replaces the bullet API call with a macro defined based on that cmake version comparison.

Checklist

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.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (216f174) 78.59% compared to head (f05510d) 78.59%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## gz-physics6 #591 +/- ## ============================================ Coverage 78.59% 78.59% ============================================ Files 140 140 Lines 7654 7654 ============================================ Hits 6016 6016 Misses 1638 1638 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.