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

Remove ros2interface test dependencies on builtin interface #579

Merged
merged 7 commits into from
Jan 20, 2021

Conversation

audrow
Copy link
Member

@audrow audrow commented Dec 17, 2020

Fixes #541 and is an alternative to the PRs associated with #547.

I think this is an important change because, as mentioned in ros2/system_tests#442 (comment), testing against these interface definitions allows us to cover behavior of ros2 interface show that is currently not covered, such as the bug fixed by #548. This PR also removes a ros2interface test dependency on builtin_interfaces (#541).

I've opted for this approach rather than the one used in #547 to avoid slowing down the test time and for simplicity. As @jacobperron mentions in ros2/test_interface_files#11 (comment) that adding these interfaces to may increase the time required for all of the tests to run. It also is much more complicated to add messages to test_msgs as it requires PRs in four repositories.

Signed-off-by: Audrow <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
@audrow audrow added the enhancement New feature or request label Dec 17, 2020
@audrow audrow self-assigned this Dec 17, 2020
ros2cli_test_msgs/CMakeLists.txt Outdated Show resolved Hide resolved
ros2cli_test_msgs/package.xml Outdated Show resolved Hide resolved
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
@audrow audrow force-pushed the audrow/remove-depend-on-builtin-interface-2 branch from 703e512 to 3056860 Compare December 19, 2020 05:14
@audrow
Copy link
Member Author

audrow commented Dec 19, 2020

I'm not sure why the PR job is failing, but here is CI.

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

@audrow audrow marked this pull request as ready for review December 20, 2020 17:49
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM (one minor comment)

We should also run CI and test the new package ros2cli_test_interfaces.

ros2cli/package.xml Outdated Show resolved Hide resolved
@jacobperron
Copy link
Member

I believe the PR job failure is the same as #577. It seems safe to ignore, since this change is only touching ros2interface.

Signed-off-by: Audrow Nash <audrow.nash@gmail.com>
@audrow
Copy link
Member Author

audrow commented Dec 23, 2020

Here is a new CI. I am testing on ros2interface and ros2cli_test_interfaces.

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

@audrow
Copy link
Member Author

audrow commented Jan 20, 2021

I reran windows. It seems to pass. I'll rebase on master and then rerun CI.

  • Windows Build Status

@jacobperron
Copy link
Member

jacobperron commented Jan 20, 2021

I reran windows. It seems to pass. I'll rebase on master and then rerun CI.

I don't think rebasing is necessary when using a branch (instead of a repos file) for CI.

@audrow
Copy link
Member Author

audrow commented Jan 20, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ros2interface] Tests rely on builtin_interfaces
2 participants