Skip to content

Remove ros2interface test dependencies on builtin interface - #579

Merged
audrow merged 7 commits into
masterfrom
audrow/remove-depend-on-builtin-interface-2
Jan 20, 2021
Merged

audrow merged 7 commits into
masterfrom
audrow/remove-depend-on-builtin-interface-2

Conversation

@audrow

@audrow audrow commented Dec 17, 2020

Copy link
Copy Markdown
Member

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.

@audrow audrow added the enhancement New feature or request label Dec 17, 2020
@audrow audrow self-assigned this Dec 17, 2020
Comment thread ros2cli_test_msgs/CMakeLists.txt Resolved
Comment thread ros2cli_test_msgs/package.xml Resolved
@audrow
audrow force-pushed the audrow/remove-depend-on-builtin-interface-2 branch from 703e512 to 3056860 Compare December 19, 2020 05:14
@audrow

audrow commented Dec 19, 2020 •

Copy link
Copy Markdown
Member Author

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
@audrow
audrow requested a review from jacobperron December 20, 2020 17:49

@jacobperron jacobperron left a comment

Copy link
Copy Markdown
Member

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.

Comment thread ros2cli/package.xml Resolved
@jacobperron

Copy link
Copy Markdown
Member

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

@audrow

audrow commented Dec 23, 2020

Copy link
Copy Markdown
Member Author

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

audrow commented Jan 20, 2021

Copy link
Copy Markdown
Member Author

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

  • Windows Build Status

@jacobperron

jacobperron commented Jan 20, 2021 •

Copy link
Copy Markdown
Member

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

audrow commented Jan 20, 2021

Copy link
Copy Markdown
Member Author
  • 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