diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-07 15:15:18 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-07 15:16:18 +0200 |
commit | d31895deac1b2acfbb456d18b077de1bc0618dac (patch) | |
tree | e6ebdad6c9918335eeb65dcfe2bb5e4bce3acc60 | |
parent | dev-ros/laser_cb_detector: add usedep for tests (diff) | |
download | gentoo-d31895deac1b2acfbb456d18b077de1bc0618dac.tar.gz gentoo-d31895deac1b2acfbb456d18b077de1bc0618dac.tar.bz2 gentoo-d31895deac1b2acfbb456d18b077de1bc0618dac.zip |
dev-ros/amcl: fix tests
Closes: https://bugs.gentoo.org/736142
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
-rw-r--r-- | dev-ros/amcl/amcl-1.17.0.ebuild | 5 | ||||
-rw-r--r-- | dev-ros/amcl/amcl-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/amcl/amcl-1.17.0.ebuild b/dev-ros/amcl/amcl-1.17.0.ebuild index 82e57ffd18a4..a871a83d6448 100644 --- a/dev-ros/amcl/amcl-1.17.0.ebuild +++ b/dev-ros/amcl/amcl-1.17.0.ebuild @@ -62,3 +62,8 @@ src_prepare() { done sed -e "s#http://download.ros.org/data/amcl#file://${S}#" -i CMakeLists.txt || die } + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} diff --git a/dev-ros/amcl/amcl-9999.ebuild b/dev-ros/amcl/amcl-9999.ebuild index 82e57ffd18a4..a871a83d6448 100644 --- a/dev-ros/amcl/amcl-9999.ebuild +++ b/dev-ros/amcl/amcl-9999.ebuild @@ -62,3 +62,8 @@ src_prepare() { done sed -e "s#http://download.ros.org/data/amcl#file://${S}#" -i CMakeLists.txt || die } + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} |