From aeaad470b10a05ad22bcd210b75704d37e55634e Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 7 Aug 2020 17:04:19 +0200 Subject: dev-ros/rostopic: fix tests Closes: https://bugs.gentoo.org/624792 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier --- dev-ros/rostopic/rostopic-1.15.8.ebuild | 5 +++++ dev-ros/rostopic/rostopic-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'dev-ros/rostopic') diff --git a/dev-ros/rostopic/rostopic-1.15.8.ebuild b/dev-ros/rostopic/rostopic-1.15.8.ebuild index 6482c6da1be0..c436e4f953a2 100644 --- a/dev-ros/rostopic/rostopic-1.15.8.ebuild +++ b/dev-ros/rostopic/rostopic-1.15.8.ebuild @@ -24,3 +24,8 @@ DEPEND="${RDEPEND} $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") ) " + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} diff --git a/dev-ros/rostopic/rostopic-9999.ebuild b/dev-ros/rostopic/rostopic-9999.ebuild index 6482c6da1be0..c436e4f953a2 100644 --- a/dev-ros/rostopic/rostopic-9999.ebuild +++ b/dev-ros/rostopic/rostopic-9999.ebuild @@ -24,3 +24,8 @@ DEPEND="${RDEPEND} $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") ) " + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} -- cgit v1.2.3-65-gdbad