summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ros/rostopic/rostopic-1.15.8.ebuild5
-rw-r--r--dev-ros/rostopic/rostopic-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/rostopic/rostopic-1.15.8.ebuild b/dev-ros/rostopic/rostopic-1.15.8.ebuild
index 6482c6da1be0..c436e4f953a2 100644
--- a/dev-ros/rostopic/rostopic-1.15.8.ebuild
+++ b/dev-ros/rostopic/rostopic-1.15.8.ebuild
@@ -24,3 +24,8 @@ DEPEND="${RDEPEND}
$(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
)
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/rostopic/rostopic-9999.ebuild b/dev-ros/rostopic/rostopic-9999.ebuild
index 6482c6da1be0..c436e4f953a2 100644
--- a/dev-ros/rostopic/rostopic-9999.ebuild
+++ b/dev-ros/rostopic/rostopic-9999.ebuild
@@ -24,3 +24,8 @@ DEPEND="${RDEPEND}
$(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
)
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}