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/test_diagnostic_aggregator/
Date: Fri, 07 Aug 2020 15:52:46
Message-Id: 1596815543.bcc157901b4e73a38340ad10c34d6cf4ab6b6ae0.aballier@gentoo
1 commit: bcc157901b4e73a38340ad10c34d6cf4ab6b6ae0
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 7 15:38:48 2020 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 7 15:52:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcc15790
7
8 dev-ros/test_diagnostic_aggregator: fix tests
9
10 Closes: https://bugs.gentoo.org/624784
11 Package-Manager: Portage-3.0.1, Repoman-2.3.23
12 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
13
14 .../test_diagnostic_aggregator-1.9.4.ebuild | 6 ++++++
15 .../test_diagnostic_aggregator-9999.ebuild | 6 ++++++
16 2 files changed, 12 insertions(+)
17
18 diff --git a/dev-ros/test_diagnostic_aggregator/test_diagnostic_aggregator-1.9.4.ebuild b/dev-ros/test_diagnostic_aggregator/test_diagnostic_aggregator-1.9.4.ebuild
19 index 5fe90378f6e..fcaf935a3f4 100644
20 --- a/dev-ros/test_diagnostic_aggregator/test_diagnostic_aggregator-1.9.4.ebuild
21 +++ b/dev-ros/test_diagnostic_aggregator/test_diagnostic_aggregator-1.9.4.ebuild
22 @@ -23,3 +23,9 @@ RDEPEND="
23 "
24 DEPEND="${RDEPEND}"
25 PATCHES=( "${FILESDIR}/gcc6.patch" )
26 +
27 +src_test() {
28 + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
29 + export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}"
30 + ros-catkin_src_test
31 +}
32
33 diff --git a/dev-ros/test_diagnostic_aggregator/test_diagnostic_aggregator-9999.ebuild b/dev-ros/test_diagnostic_aggregator/test_diagnostic_aggregator-9999.ebuild
34 index 5fe90378f6e..fcaf935a3f4 100644
35 --- a/dev-ros/test_diagnostic_aggregator/test_diagnostic_aggregator-9999.ebuild
36 +++ b/dev-ros/test_diagnostic_aggregator/test_diagnostic_aggregator-9999.ebuild
37 @@ -23,3 +23,9 @@ RDEPEND="
38 "
39 DEPEND="${RDEPEND}"
40 PATCHES=( "${FILESDIR}/gcc6.patch" )
41 +
42 +src_test() {
43 + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
44 + export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}"
45 + ros-catkin_src_test
46 +}