commit:     aeaad470b10a05ad22bcd210b75704d37e55634e
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  7 15:04:19 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Aug  7 15:32:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeaad470

dev-ros/rostopic: fix tests

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

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

diff --git a/dev-ros/rostopic/rostopic-1.15.8.ebuild 
b/dev-ros/rostopic/rostopic-1.15.8.ebuild
index 6482c6da1be..c436e4f953a 100644
--- a/dev-ros/rostopic/rostopic-1.15.8.ebuild
+++ b/dev-ros/rostopic/rostopic-1.15.8.ebuild
@@ -24,3 +24,8 @@ DEPEND="${RDEPEND}
                $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
        )
 "
+
+src_test() {
+       export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+       ros-catkin_src_test
+}

diff --git a/dev-ros/rostopic/rostopic-9999.ebuild 
b/dev-ros/rostopic/rostopic-9999.ebuild
index 6482c6da1be..c436e4f953a 100644
--- a/dev-ros/rostopic/rostopic-9999.ebuild
+++ b/dev-ros/rostopic/rostopic-9999.ebuild
@@ -24,3 +24,8 @@ DEPEND="${RDEPEND}
                $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
        )
 "
+
+src_test() {
+       export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+       ros-catkin_src_test
+}

Reply via email to