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

Test all RMW implementations for rosbag2_transport #349

Merged
merged 4 commits into from
Apr 3, 2020

Conversation

emersonknapp
Copy link
Collaborator

Depends on ament/ament_cmake#236 - there is a bug in ament_add_gmock that shows up when I start using ENV

Iterate over all RMW implementations for the rosbag2_transport tests, because it's been the case recently that some tests will pass on fastrtps but fail on cyclonedds.

rosbag2_transport/CMakeLists.txt Outdated Show resolved Hide resolved
rosbag2_transport/CMakeLists.txt Outdated Show resolved Hide resolved
rosbag2_transport/CMakeLists.txt Outdated Show resolved Hide resolved
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp emersonknapp force-pushed the emersonknapp/test_all_rmw_implementations branch from d7bafb0 to bc07f7e Compare April 3, 2020 08:06
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Copy link
Contributor

@piraka9011 piraka9011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but maybe some comments to document the new functions a bit so that it might be a bit easier for new contributors to understand what's going on (or where to add new tests).

Copy link
Contributor

@thomas-moulard thomas-moulard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on Anas comment, see e.g. how https://github.com/ros2/rmw/blob/master/rmw_implementation_cmake/cmake/call_for_each_rmw_implementation.cmake is documented, we should do the same for each function/macro we introduce. Consider also moving those functions into a separate cmake file so that the CMakeLists.txt is free of clutter.

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp
Copy link
Collaborator Author

Ok - I moved it to a separate file and added documentation

@emersonknapp
Copy link
Collaborator Author

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@emersonknapp emersonknapp merged commit e656e76 into master Apr 3, 2020
@delete-merged-branch delete-merged-branch bot deleted the emersonknapp/test_all_rmw_implementations branch April 3, 2020 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants