colcon-core icon indicating copy to clipboard operation
colcon-core copied to clipboard

Running colcon test in a workspace with ROS1 and ROS2 packages triggers ERROR:colcon:colcon test: Duplicate package names not supported

Open MaxandreOgeret opened this issue 2 years ago • 1 comments

Hello, I have a workspace that I use to run the ros1_bridge and if I try to run the test like so :

colcon test --merge-install --install-base install/ros1_bridge

I get the following error :

[0.436s] ERROR:colcon:colcon test: Duplicate package names not supported:
- my_custom_msgs:
  - ros1_ws/src/messages/my_custom_msgs
  - ros2_ws/src/messages/my_custom_msgs

Those packages are used separately by ROS1 and ROS2 and shouldnt trigger this error I believe.

Thanks for your help !

MaxandreOgeret avatar Jun 21 '22 09:06 MaxandreOgeret