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/amcl/
Date: Fri, 07 Aug 2020 13:16:41
Message-Id: 1596806178.d31895deac1b2acfbb456d18b077de1bc0618dac.aballier@gentoo
1 commit: d31895deac1b2acfbb456d18b077de1bc0618dac
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 7 13:15:18 2020 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 7 13:16:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d31895de
7
8 dev-ros/amcl: fix tests
9
10 Closes: https://bugs.gentoo.org/736142
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/amcl/amcl-1.17.0.ebuild | 5 +++++
15 dev-ros/amcl/amcl-9999.ebuild | 5 +++++
16 2 files changed, 10 insertions(+)
17
18 diff --git a/dev-ros/amcl/amcl-1.17.0.ebuild b/dev-ros/amcl/amcl-1.17.0.ebuild
19 index 82e57ffd18a..a871a83d644 100644
20 --- a/dev-ros/amcl/amcl-1.17.0.ebuild
21 +++ b/dev-ros/amcl/amcl-1.17.0.ebuild
22 @@ -62,3 +62,8 @@ src_prepare() {
23 done
24 sed -e "s#http://download.ros.org/data/amcl#file://${S}#" -i CMakeLists.txt || die
25 }
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/amcl/amcl-9999.ebuild b/dev-ros/amcl/amcl-9999.ebuild
33 index 82e57ffd18a..a871a83d644 100644
34 --- a/dev-ros/amcl/amcl-9999.ebuild
35 +++ b/dev-ros/amcl/amcl-9999.ebuild
36 @@ -62,3 +62,8 @@ src_prepare() {
37 done
38 sed -e "s#http://download.ros.org/data/amcl#file://${S}#" -i CMakeLists.txt || die
39 }
40 +
41 +src_test() {
42 + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
43 + ros-catkin_src_test
44 +}