summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-06 18:04:47 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-06 18:09:03 +0200
commit30377327a10a156312a88a9a00e83eca614595a3 (patch)
tree3f3acfadc3aa42b70f38868859422f4e5ae7c4fa /dev-ros/smach_ros
parentdev-ros/test_roslaunch: fix tests (diff)
downloadgentoo-30377327a10a156312a88a9a00e83eca614595a3.tar.gz
gentoo-30377327a10a156312a88a9a00e83eca614595a3.tar.bz2
gentoo-30377327a10a156312a88a9a00e83eca614595a3.zip
dev-ros/smach_ros: fix tests
Closes: https://bugs.gentoo.org/625130 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/smach_ros')
-rw-r--r--dev-ros/smach_ros/smach_ros-2.5.0.ebuild5
-rw-r--r--dev-ros/smach_ros/smach_ros-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/smach_ros/smach_ros-2.5.0.ebuild b/dev-ros/smach_ros/smach_ros-2.5.0.ebuild
index 5be7ceb1e6fc..ad6de87c90ae 100644
--- a/dev-ros/smach_ros/smach_ros-2.5.0.ebuild
+++ b/dev-ros/smach_ros/smach_ros-2.5.0.ebuild
@@ -26,3 +26,8 @@ RDEPEND="
dev-ros/smach_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/smach_ros/smach_ros-9999.ebuild b/dev-ros/smach_ros/smach_ros-9999.ebuild
index 5be7ceb1e6fc..ad6de87c90ae 100644
--- a/dev-ros/smach_ros/smach_ros-9999.ebuild
+++ b/dev-ros/smach_ros/smach_ros-9999.ebuild
@@ -26,3 +26,8 @@ RDEPEND="
dev-ros/smach_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}