From 4a1baa179de8dc50bf9624a197c11aee5c0fa2ad Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 7 Aug 2020 16:48:47 +0200 Subject: dev-ros/rosauth: fix tests Closes: https://bugs.gentoo.org/624926 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier --- dev-ros/rosauth/rosauth-1.0.1.ebuild | 5 +++++ dev-ros/rosauth/rosauth-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-ros/rosauth/rosauth-1.0.1.ebuild b/dev-ros/rosauth/rosauth-1.0.1.ebuild index 2bccb46f88d1..10f5ea08a15f 100644 --- a/dev-ros/rosauth/rosauth-1.0.1.ebuild +++ b/dev-ros/rosauth/rosauth-1.0.1.ebuild @@ -22,3 +22,8 @@ DEPEND="${RDEPEND} 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/rosauth/rosauth-9999.ebuild b/dev-ros/rosauth/rosauth-9999.ebuild index 2bccb46f88d1..10f5ea08a15f 100644 --- a/dev-ros/rosauth/rosauth-9999.ebuild +++ b/dev-ros/rosauth/rosauth-9999.ebuild @@ -22,3 +22,8 @@ DEPEND="${RDEPEND} dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] dev-cpp/gtest )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} -- cgit v1.2.3-65-gdbad