commit:     cfee35024c2570bb1d29899817b5f81e44aa923a
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  6 16:06:18 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=cfee3502

dev-ros/test_rosgraph: fix tests

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

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

diff --git a/dev-ros/test_rosgraph/test_rosgraph-1.15.8.ebuild 
b/dev-ros/test_rosgraph/test_rosgraph-1.15.8.ebuild
index 17776e85e11..71104c076e5 100644
--- a/dev-ros/test_rosgraph/test_rosgraph-1.15.8.ebuild
+++ b/dev-ros/test_rosgraph/test_rosgraph-1.15.8.ebuild
@@ -18,3 +18,8 @@ RDEPEND="dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]"
 DEPEND="${RDEPEND}
        test? ( dev-ros/rosgraph[${PYTHON_SINGLE_USEDEP}] )
 "
+
+src_test() {
+       export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+       ros-catkin_src_test
+}

diff --git a/dev-ros/test_rosgraph/test_rosgraph-9999.ebuild 
b/dev-ros/test_rosgraph/test_rosgraph-9999.ebuild
index 17776e85e11..71104c076e5 100644
--- a/dev-ros/test_rosgraph/test_rosgraph-9999.ebuild
+++ b/dev-ros/test_rosgraph/test_rosgraph-9999.ebuild
@@ -18,3 +18,8 @@ RDEPEND="dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]"
 DEPEND="${RDEPEND}
        test? ( dev-ros/rosgraph[${PYTHON_SINGLE_USEDEP}] )
 "
+
+src_test() {
+       export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+       ros-catkin_src_test
+}

Reply via email to