commit: 45ab0004a44242cc40b9cb0eaeadc56df2fe511d Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Wed Jul 29 12:10:06 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Wed Jul 29 12:21:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45ab0004
dev-ros/roslib: fix tests Closes: https://bugs.gentoo.org/624924 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-ros/roslib/roslib-1.15.6.ebuild | 6 ++++++ dev-ros/roslib/roslib-9999.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/dev-ros/roslib/roslib-1.15.6.ebuild b/dev-ros/roslib/roslib-1.15.6.ebuild index bde355c582b..8414e777c57 100644 --- a/dev-ros/roslib/roslib-1.15.6.ebuild +++ b/dev-ros/roslib/roslib-1.15.6.ebuild @@ -25,3 +25,9 @@ DEPEND="${RDEPEND} dev-cpp/gtest $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") )" + +src_test() { + export ROS_PACKAGE_PATH="${S}/../../" + ros-catkin_src_test +} + diff --git a/dev-ros/roslib/roslib-9999.ebuild b/dev-ros/roslib/roslib-9999.ebuild index bde355c582b..8414e777c57 100644 --- a/dev-ros/roslib/roslib-9999.ebuild +++ b/dev-ros/roslib/roslib-9999.ebuild @@ -25,3 +25,9 @@ DEPEND="${RDEPEND} dev-cpp/gtest $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") )" + +src_test() { + export ROS_PACKAGE_PATH="${S}/../../" + ros-catkin_src_test +} +
