Skip to content

Fix the unit test test_get_gbprepo_as_rosdep_data#648

Closed
veimox wants to merge 1 commit intoros-infrastructure:masterfrom
veimox:bugfix/test_get_gbprepo_as_rosdep_data
Closed

Fix the unit test test_get_gbprepo_as_rosdep_data#648
veimox wants to merge 1 commit intoros-infrastructure:masterfrom
veimox:bugfix/test_get_gbprepo_as_rosdep_data

Conversation

@veimox
Copy link
Copy Markdown

@veimox veimox commented Jan 12, 2019

The unit test checks for the existence of three keys ['ros', 'catkin', 'genmsg'] in the rosdep data gathered from a distro. As coded, it gets the first distribution found in alphabetical order. As of today ardent. However this is a ros2 distribution and, for example, catkin is not released for it.

I propose to use melodic as this is the latest ros1 distribution where those keys are guaranteed to be there. Otherwise, the keys can be change by removing "catkin" and "genmsg".

The unit test checks for the existance of thre keys ['ros', 'catkin', 'genmsg'] in the rosdep data gather from a distro. As coded, it gets the first distribution found in alphabetical order. As of today "ardent". However this is a ros2 distribution and, for example, catkin is not released for it  (https://github.com/ros/rosdistro/blob/master/ardent/distribution.yaml)
@veimox
Copy link
Copy Markdown
Author

veimox commented Jan 12, 2019

Closed in favor of #647 . I should have seen it before :(

@veimox veimox closed this Jan 12, 2019
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.

1 participant