-
Notifications
You must be signed in to change notification settings - Fork 39
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 ABI checker with testing module #427
Conversation
Codecov Report
@@ Coverage Diff @@
## gz-common5 #427 +/- ##
===========================================
Coverage 80.38% 80.38%
===========================================
Files 85 85
Lines 9944 9944
===========================================
Hits 7993 7993
Misses 1951 1951 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@j-rivero so it seems I can't manipulate the ABI checker via CMake. The situation here is that the Is there a way to exclude this from the ABI checker? Or is there a better way to indicate this? |
Signed-off-by: Michael Carroll <michael@openrobotics.org>
9a5f346
to
341a94b
Compare
@osrf-jenkins retest this please |
Signed-off-by: Michael Carroll <michael@openrobotics.org> Co-authored-by: Jenn Nguyen <jenn@openrobotics.org>
The abi checker is actually having issues with the destination branch in this case. This PR would need to be merged so that the destination branch ( |
The error in question:
|
Signed-off-by: Michael Carroll michael@openrobotics.org
🦟 Bug fix
Fixes issue brought up in comment here: #411 (comment)
Summary
The header
AutoLogFixture.hh
is available to be used as part of a library or executable that links againstgtest
. We don't want to introduce a hard dependency ongtest
incommon::testing
for just this header, but it seems to annoy the ABI checker.This adds a private include so that the gtest header may be resolved, even though downstream users of thetesting
component will never see it.This puts the AutoLogFixture within a define guard
GTEST_API
to guarantee that gtest is available before using the autologfixture.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.