Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

rosmsg: clean up test dependencies#2103

Merged
jacobperron merged 1 commit intoros:noetic-develfrom
canonical:bugfix/rosmsg-test-deps
Mar 11, 2021
Merged

rosmsg: clean up test dependencies#2103
jacobperron merged 1 commit intoros:noetic-develfrom
canonical:bugfix/rosmsg-test-deps

Conversation

@kyrofa
Copy link
Copy Markdown
Contributor

@kyrofa kyrofa commented Dec 9, 2020

All dependencies must be declared in the package.xml, and all these dependencies must be in the ROS distro (see ros/rosdistro#27359). rosmsg doesn't meet either of these requirements today, by using but not depending on both rostest and std_srvs, and by using test_rosmaster, which isn't in the ROS distro at all.

Update rosmsg to properly depend upon what it requires, and stop using test_rosmaster completely. In place of test_rosmaster, use diagnostic_msgs, which satisfies the same requirements of the existing tests by having both messages and services as well as standalone and recursive messages.

All dependencies must be declared in the package.xml, and all these
dependencies must be in the ROS distro. rosmsg doesn't meet either of
these requirements today, by using but not depending on both rostest and
std_srvs, and by using test_rosmaster, which isn't in the ROS distro at
all.

Update rosmsg to properly depend upon what it requires, and stop using
test_rosmaster completely. In place of test_rosmaster, use
diagnostic_msgs, which satisfies the same requirements of the existing
tests by having both messages and services as well as standalone and
recursive messages.

Signed-off-by: Kyle Fazzari <kyle@canonical.com>
Copy link
Copy Markdown
Contributor

@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.

Seems reasonable to me, but I'd like to check-in with @sloretz and @mjcarroll for any reservations on introducing a test depend on diagnostic_msgs.

@jacobperron jacobperron merged commit f8022d7 into ros:noetic-devel Mar 11, 2021
jacobperron pushed a commit that referenced this pull request Apr 6, 2021
All dependencies must be declared in the package.xml, and all these
dependencies must be in the ROS distro. rosmsg doesn't meet either of
these requirements today, by using but not depending on both rostest and
std_srvs, and by using test_rosmaster, which isn't in the ROS distro at
all.

Update rosmsg to properly depend upon what it requires, and stop using
test_rosmaster completely. In place of test_rosmaster, use
diagnostic_msgs, which satisfies the same requirements of the existing
tests by having both messages and services as well as standalone and
recursive messages.

Signed-off-by: Kyle Fazzari <kyle@canonical.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants