1 |
commit: 0f079a4a037aa45c7d448c3d13639d98d5371299 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 7 15:40:53 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=0f079a4a |
7 |
|
8 |
dev-ros/diagnostic_updater: fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/624776 |
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/diagnostic_updater/diagnostic_updater-1.9.4.ebuild | 5 +++++ |
15 |
dev-ros/diagnostic_updater/diagnostic_updater-9999.ebuild | 5 +++++ |
16 |
2 files changed, 10 insertions(+) |
17 |
|
18 |
diff --git a/dev-ros/diagnostic_updater/diagnostic_updater-1.9.4.ebuild b/dev-ros/diagnostic_updater/diagnostic_updater-1.9.4.ebuild |
19 |
index 9a772593ae8..26dc8c7e62f 100644 |
20 |
--- a/dev-ros/diagnostic_updater/diagnostic_updater-1.9.4.ebuild |
21 |
+++ b/dev-ros/diagnostic_updater/diagnostic_updater-1.9.4.ebuild |
22 |
@@ -24,3 +24,8 @@ DEPEND="${RDEPEND} |
23 |
dev-ros/diagnostic_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
24 |
dev-ros/std_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
25 |
test? ( dev-cpp/gtest 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/diagnostic_updater/diagnostic_updater-9999.ebuild b/dev-ros/diagnostic_updater/diagnostic_updater-9999.ebuild |
33 |
index 9a772593ae8..26dc8c7e62f 100644 |
34 |
--- a/dev-ros/diagnostic_updater/diagnostic_updater-9999.ebuild |
35 |
+++ b/dev-ros/diagnostic_updater/diagnostic_updater-9999.ebuild |
36 |
@@ -24,3 +24,8 @@ DEPEND="${RDEPEND} |
37 |
dev-ros/diagnostic_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
38 |
dev-ros/std_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
39 |
test? ( dev-cpp/gtest 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 |
+} |