commit:     4a1baa179de8dc50bf9624a197c11aee5c0fa2ad
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  7 14:48:47 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Aug  7 15:32:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1baa17

dev-ros/rosauth: fix tests

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

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

diff --git a/dev-ros/rosauth/rosauth-1.0.1.ebuild 
b/dev-ros/rosauth/rosauth-1.0.1.ebuild
index 2bccb46f88d..10f5ea08a15 100644
--- a/dev-ros/rosauth/rosauth-1.0.1.ebuild
+++ b/dev-ros/rosauth/rosauth-1.0.1.ebuild
@@ -22,3 +22,8 @@ DEPEND="${RDEPEND}
                dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
                dev-cpp/gtest
        )"
+
+src_test() {
+       export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+       ros-catkin_src_test
+}

diff --git a/dev-ros/rosauth/rosauth-9999.ebuild 
b/dev-ros/rosauth/rosauth-9999.ebuild
index 2bccb46f88d..10f5ea08a15 100644
--- a/dev-ros/rosauth/rosauth-9999.ebuild
+++ b/dev-ros/rosauth/rosauth-9999.ebuild
@@ -22,3 +22,8 @@ DEPEND="${RDEPEND}
                dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
                dev-cpp/gtest
        )"
+
+src_test() {
+       export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+       ros-catkin_src_test
+}

Reply via email to