summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-24 14:35:21 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-24 15:44:32 +0200
commite5003bbc1dd47e0f24f3fa2ce034514d07c9368d (patch)
treedadd0dab9eef4d11e4161f3d709c8e759765b69e /dev-ros/joint_limits_interface
parentdev-ros/roslint: fix tests (diff)
downloadgentoo-e5003bbc1dd47e0f24f3fa2ce034514d07c9368d.tar.gz
gentoo-e5003bbc1dd47e0f24f3fa2ce034514d07c9368d.tar.bz2
gentoo-e5003bbc1dd47e0f24f3fa2ce034514d07c9368d.zip
dev-ros/joint_limits_interface: fix tests
Closes: https://bugs.gentoo.org/738568 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/joint_limits_interface')
-rw-r--r--dev-ros/joint_limits_interface/joint_limits_interface-0.19.1.ebuild5
-rw-r--r--dev-ros/joint_limits_interface/joint_limits_interface-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/joint_limits_interface/joint_limits_interface-0.19.1.ebuild b/dev-ros/joint_limits_interface/joint_limits_interface-0.19.1.ebuild
index eb114c5f1349..86815d181892 100644
--- a/dev-ros/joint_limits_interface/joint_limits_interface-0.19.1.ebuild
+++ b/dev-ros/joint_limits_interface/joint_limits_interface-0.19.1.ebuild
@@ -21,3 +21,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? ( dev-ros/rostest dev-cpp/gtest )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/joint_limits_interface/joint_limits_interface-9999.ebuild b/dev-ros/joint_limits_interface/joint_limits_interface-9999.ebuild
index eb114c5f1349..86815d181892 100644
--- a/dev-ros/joint_limits_interface/joint_limits_interface-9999.ebuild
+++ b/dev-ros/joint_limits_interface/joint_limits_interface-9999.ebuild
@@ -21,3 +21,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? ( dev-ros/rostest dev-cpp/gtest )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}