1 |
commit: 032d1a769e73772d44ab0f64d20cceb683845779 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 5 15:59:04 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 5 17:55:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032d1a76 |
7 |
|
8 |
dev-ros/tf2_sensor_msgs: fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/734696 |
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/tf2_sensor_msgs/tf2_sensor_msgs-0.7.2.ebuild | 12 +++++++++++- |
15 |
dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild | 12 +++++++++++- |
16 |
2 files changed, 22 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-0.7.2.ebuild b/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-0.7.2.ebuild |
19 |
index 01b0cdc5ab3..cdc4cce3fb4 100644 |
20 |
--- a/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-0.7.2.ebuild |
21 |
+++ b/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-0.7.2.ebuild |
22 |
@@ -21,7 +21,17 @@ RDEPEND=" |
23 |
dev-ros/sensor_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] |
24 |
" |
25 |
DEPEND="${RDEPEND} |
26 |
- test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] ) |
27 |
+ test? ( |
28 |
+ $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") |
29 |
+ dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] |
30 |
+ dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
31 |
+ ) |
32 |
dev-ros/cmake_modules |
33 |
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
34 |
+ dev-cpp/eigen:3 |
35 |
" |
36 |
+ |
37 |
+src_test() { |
38 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
39 |
+ ros-catkin_src_test |
40 |
+} |
41 |
|
42 |
diff --git a/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild b/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild |
43 |
index 01b0cdc5ab3..cdc4cce3fb4 100644 |
44 |
--- a/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild |
45 |
+++ b/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild |
46 |
@@ -21,7 +21,17 @@ RDEPEND=" |
47 |
dev-ros/sensor_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}] |
48 |
" |
49 |
DEPEND="${RDEPEND} |
50 |
- test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] ) |
51 |
+ test? ( |
52 |
+ $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") |
53 |
+ dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] |
54 |
+ dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
55 |
+ ) |
56 |
dev-ros/cmake_modules |
57 |
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
58 |
+ dev-cpp/eigen:3 |
59 |
" |
60 |
+ |
61 |
+src_test() { |
62 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
63 |
+ ros-catkin_src_test |
64 |
+} |