commit:     4e19f232564148cb085e7f367f79c44e6a9c2f56
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 29 14:11:43 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Jul 29 14:45:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e19f232

dev-ros/rospy_tutorials: set proper search path for tests

Closes: https://bugs.gentoo.org/624782
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild | 5 +++++
 dev-ros/rospy_tutorials/rospy_tutorials-9999.ebuild   | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild 
b/dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild
index 21a4b9e1fc2..9977f2feee7 100644
--- a/dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild
+++ b/dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild
@@ -20,3 +20,8 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        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/rospy_tutorials/rospy_tutorials-9999.ebuild 
b/dev-ros/rospy_tutorials/rospy_tutorials-9999.ebuild
index 21a4b9e1fc2..9977f2feee7 100644
--- a/dev-ros/rospy_tutorials/rospy_tutorials-9999.ebuild
+++ b/dev-ros/rospy_tutorials/rospy_tutorials-9999.ebuild
@@ -20,3 +20,8 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )"
+
+src_test() {
+       export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+       ros-catkin_src_test
+}

Reply via email to