Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/joint_state_publisher/
Date: Wed, 29 Jul 2020 16:25:30
Message-Id: 1596039915.9131ff8c86ff416b0a28ad6149e0c506bb6139c5.aballier@gentoo
1 commit: 9131ff8c86ff416b0a28ad6149e0c506bb6139c5
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 29 14:57:45 2020 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 29 16:25:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9131ff8c
7
8 dev-ros/joint_state_publisher: add proper search path for tests
9
10 Closes: https://bugs.gentoo.org/624896
11 Package-Manager: Portage-3.0.1, Repoman-2.3.23
12 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
13
14 dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild | 5 +++++
15 dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild | 5 +++++
16 2 files changed, 10 insertions(+)
17
18 diff --git a/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild b/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild
19 index b36d83a54f2..4124df04753 100644
20 --- a/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild
21 +++ b/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild
22 @@ -20,3 +20,8 @@ RDEPEND="${DEPEND}
23 "
24 DEPEND="${DEPEND}
25 test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )"
26 +
27 +src_test() {
28 + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
29 + ros-catkin_src_test
30 +}
31
32 diff --git a/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild b/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild
33 index b36d83a54f2..4124df04753 100644
34 --- a/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild
35 +++ b/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild
36 @@ -20,3 +20,8 @@ RDEPEND="${DEPEND}
37 "
38 DEPEND="${DEPEND}
39 test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )"
40 +
41 +src_test() {
42 + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
43 + ros-catkin_src_test
44 +}