commit: 9131ff8c86ff416b0a28ad6149e0c506bb6139c5 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Wed Jul 29 14:57:45 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Wed Jul 29 16:25:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9131ff8c
dev-ros/joint_state_publisher: add proper search path for tests Closes: https://bugs.gentoo.org/624896 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild | 5 +++++ dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild b/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild index b36d83a54f2..4124df04753 100644 --- a/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild +++ b/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild @@ -20,3 +20,8 @@ RDEPEND="${DEPEND} " DEPEND="${DEPEND} test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} diff --git a/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild b/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild index b36d83a54f2..4124df04753 100644 --- a/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild +++ b/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild @@ -20,3 +20,8 @@ RDEPEND="${DEPEND} " DEPEND="${DEPEND} test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +}
