diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-07-29 14:10:06 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-07-29 14:21:06 +0200 |
commit | 45ab0004a44242cc40b9cb0eaeadc56df2fe511d (patch) | |
tree | 1b03b2d3ddd37f0c4596931cd43bbf8f40088c02 /dev-ros | |
parent | dev-ros/roswtf: remove outdated rosinstall dep (diff) | |
download | gentoo-45ab0004a44242cc40b9cb0eaeadc56df2fe511d.tar.gz gentoo-45ab0004a44242cc40b9cb0eaeadc56df2fe511d.tar.bz2 gentoo-45ab0004a44242cc40b9cb0eaeadc56df2fe511d.zip |
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@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r-- | dev-ros/roslib/roslib-1.15.6.ebuild | 6 | ||||
-rw-r--r-- | dev-ros/roslib/roslib-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ros/roslib/roslib-1.15.6.ebuild b/dev-ros/roslib/roslib-1.15.6.ebuild index bde355c582b7..8414e777c573 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 bde355c582b7..8414e777c573 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 +} + |