diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-05 17:09:05 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-05 17:30:10 +0200 |
commit | 5a6a0342b5582d9f41f3076d447fe331be95d557 (patch) | |
tree | bfefdc43f16c84361bb8ca83226d402ef4c2f846 /dev-ros/tf2_ros | |
parent | dev-ros/test_tf2: add missing dep (diff) | |
download | gentoo-5a6a0342b5582d9f41f3076d447fe331be95d557.tar.gz gentoo-5a6a0342b5582d9f41f3076d447fe331be95d557.tar.bz2 gentoo-5a6a0342b5582d9f41f3076d447fe331be95d557.zip |
dev-ros/tf2_ros: fix tests
Closes: https://bugs.gentoo.org/734704
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/tf2_ros')
-rw-r--r-- | dev-ros/tf2_ros/tf2_ros-0.7.2.ebuild | 6 | ||||
-rw-r--r-- | dev-ros/tf2_ros/tf2_ros-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ros/tf2_ros/tf2_ros-0.7.2.ebuild b/dev-ros/tf2_ros/tf2_ros-0.7.2.ebuild index 46f41781292a..efd7f5b732cc 100644 --- a/dev-ros/tf2_ros/tf2_ros-0.7.2.ebuild +++ b/dev-ros/tf2_ros/tf2_ros-0.7.2.ebuild @@ -31,3 +31,9 @@ DEPEND="${RDEPEND} dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] dev-ros/tf2_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] " + +src_test() { + # Needed for tests to find internal launch file + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} diff --git a/dev-ros/tf2_ros/tf2_ros-9999.ebuild b/dev-ros/tf2_ros/tf2_ros-9999.ebuild index 46f41781292a..efd7f5b732cc 100644 --- a/dev-ros/tf2_ros/tf2_ros-9999.ebuild +++ b/dev-ros/tf2_ros/tf2_ros-9999.ebuild @@ -31,3 +31,9 @@ DEPEND="${RDEPEND} dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] dev-ros/tf2_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] " + +src_test() { + # Needed for tests to find internal launch file + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} |