summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ros/rosmsg/rosmsg-1.15.10.ebuild')
-rw-r--r--dev-ros/rosmsg/rosmsg-1.15.10.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-ros/rosmsg/rosmsg-1.15.10.ebuild b/dev-ros/rosmsg/rosmsg-1.15.10.ebuild
index 34327c1b7d48..d4be4db4044c 100644
--- a/dev-ros/rosmsg/rosmsg-1.15.10.ebuild
+++ b/dev-ros/rosmsg/rosmsg-1.15.10.ebuild
@@ -21,5 +21,15 @@ RDEPEND="
dev-ros/rosbag[${PYTHON_SINGLE_USEDEP}]
"
DEPEND="${RDEPEND}
- test? ( dev-ros/test_rosmaster[${PYTHON_SINGLE_USEDEP}] )
+ test? (
+ dev-ros/test_rosmaster[${PYTHON_SINGLE_USEDEP}]
+ dev-ros/diagnostic_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ dev-ros/std_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ dev-ros/std_srvs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ )
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}/../..:${EPREFIX}/usr/share/ros_packages/diagnostic_msgs:${EPREFIX}/usr/share/ros_packages/std_msgs:${EPREFIX}/usr/share/ros_packages/std_srvs"
+ ros-catkin_src_test
+}