commit: 5d56aa375773c33159e72941156012c0a59b49ac Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Fri Aug 7 14:55:57 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Fri Aug 7 15:32:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d56aa37
dev-ros/test_nodelet: fix tests Closes: https://bugs.gentoo.org/624904 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild | 6 ++++++ dev-ros/test_nodelet/test_nodelet-9999.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild b/dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild index 0f7a330d305..2ce8ca8b3e3 100644 --- a/dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild +++ b/dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild @@ -26,3 +26,9 @@ DEPEND="${RDEPEND} ) " PATCHES=( "${FILESDIR}/gcc6.patch" ) + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}" + ros-catkin_src_test +} diff --git a/dev-ros/test_nodelet/test_nodelet-9999.ebuild b/dev-ros/test_nodelet/test_nodelet-9999.ebuild index 0f7a330d305..2ce8ca8b3e3 100644 --- a/dev-ros/test_nodelet/test_nodelet-9999.ebuild +++ b/dev-ros/test_nodelet/test_nodelet-9999.ebuild @@ -26,3 +26,9 @@ DEPEND="${RDEPEND} ) " PATCHES=( "${FILESDIR}/gcc6.patch" ) + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}" + ros-catkin_src_test +}