commit: 629d44f19371cac7b66290c36dd2af33584426f8 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Wed Jul 29 13:22:51 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Wed Jul 29 13:39:18 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=629d44f1
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 <AT> gentoo.org> dev-ros/urdf/urdf-1.13.2.ebuild | 5 +++++ dev-ros/urdf/urdf-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-ros/urdf/urdf-1.13.2.ebuild b/dev-ros/urdf/urdf-1.13.2.ebuild index a9872ad76cc..085590834b3 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 a9872ad76cc..085590834b3 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 +}