summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-07-29 15:22:51 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-07-29 15:39:18 +0200
commit629d44f19371cac7b66290c36dd2af33584426f8 (patch)
tree0d46408b285cc7a38c98af70f825b83879fad479 /dev-ros/urdf
parentmedia-video/vlc: don't call tc directly (diff)
downloadgentoo-629d44f19371cac7b66290c36dd2af33584426f8.tar.gz
gentoo-629d44f19371cac7b66290c36dd2af33584426f8.tar.bz2
gentoo-629d44f19371cac7b66290c36dd2af33584426f8.zip
dev-ros/urdf: fix search pathes for tests
Closes: https://bugs.gentoo.org/624750 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/urdf')
-rw-r--r--dev-ros/urdf/urdf-1.13.2.ebuild5
-rw-r--r--dev-ros/urdf/urdf-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/urdf/urdf-1.13.2.ebuild b/dev-ros/urdf/urdf-1.13.2.ebuild
index a9872ad76cc0..085590834b3b 100644
--- a/dev-ros/urdf/urdf-1.13.2.ebuild
+++ b/dev-ros/urdf/urdf-1.13.2.ebuild
@@ -28,3 +28,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] dev-cpp/gtest )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/urdf/urdf-9999.ebuild b/dev-ros/urdf/urdf-9999.ebuild
index a9872ad76cc0..085590834b3b 100644
--- a/dev-ros/urdf/urdf-9999.ebuild
+++ b/dev-ros/urdf/urdf-9999.ebuild
@@ -28,3 +28,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] dev-cpp/gtest )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}