commit: 419e31d8342ca3f5b236f7ef6437bfdcfe2bbac4 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Fri Aug 7 15:07:01 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Fri Aug 7 15:32:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=419e31d8
dev-ros/test_rosmaster: fix tests Closes: https://bugs.gentoo.org/624786 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild | 5 +++++ dev-ros/test_rosmaster/test_rosmaster-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild b/dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild index 26a355408e5..6a163fb0f0a 100644 --- a/dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild +++ b/dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild @@ -24,6 +24,11 @@ DEPEND="${RDEPEND} mycatkincmakeargs=( "-DCATKIN_ENABLE_TESTING=ON" ) +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} + src_install() { ros-catkin_src_install dodir /usr/share/${PN} diff --git a/dev-ros/test_rosmaster/test_rosmaster-9999.ebuild b/dev-ros/test_rosmaster/test_rosmaster-9999.ebuild index 26a355408e5..6a163fb0f0a 100644 --- a/dev-ros/test_rosmaster/test_rosmaster-9999.ebuild +++ b/dev-ros/test_rosmaster/test_rosmaster-9999.ebuild @@ -24,6 +24,11 @@ DEPEND="${RDEPEND} mycatkincmakeargs=( "-DCATKIN_ENABLE_TESTING=ON" ) +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} + src_install() { ros-catkin_src_install dodir /usr/share/${PN}