commit:     10b9b3b0695c8e71312b7e6d0f72e77a016b30d0
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  6 16:08:59 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Aug  6 16:09:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b9b3b0

dev-ros/test_rosparam: fix tests

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

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

diff --git a/dev-ros/test_rosparam/test_rosparam-1.15.8.ebuild 
b/dev-ros/test_rosparam/test_rosparam-1.15.8.ebuild
index 16022d629a4..712bc9fd620 100644
--- a/dev-ros/test_rosparam/test_rosparam-1.15.8.ebuild
+++ b/dev-ros/test_rosparam/test_rosparam-1.15.8.ebuild
@@ -22,3 +22,8 @@ DEPEND="${RDEPEND}
                $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
                dev-ros/rosparam[${PYTHON_SINGLE_USEDEP}]
        )"
+
+src_test() {
+       export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+       ros-catkin_src_test
+}

diff --git a/dev-ros/test_rosparam/test_rosparam-9999.ebuild 
b/dev-ros/test_rosparam/test_rosparam-9999.ebuild
index 16022d629a4..712bc9fd620 100644
--- a/dev-ros/test_rosparam/test_rosparam-9999.ebuild
+++ b/dev-ros/test_rosparam/test_rosparam-9999.ebuild
@@ -22,3 +22,8 @@ DEPEND="${RDEPEND}
                $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
                dev-ros/rosparam[${PYTHON_SINGLE_USEDEP}]
        )"
+
+src_test() {
+       export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+       ros-catkin_src_test
+}

Reply via email to