summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-05 17:59:04 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-05 19:55:00 +0200
commit032d1a769e73772d44ab0f64d20cceb683845779 (patch)
tree56f890d2b7cc2e57ccc2889bf5f58e68956247ba /dev-ros/tf2_sensor_msgs
parentmedia-sound/pulsemixer: Keyword 1.5.1 arm, #734592 (diff)
downloadgentoo-032d1a769e73772d44ab0f64d20cceb683845779.tar.gz
gentoo-032d1a769e73772d44ab0f64d20cceb683845779.tar.bz2
gentoo-032d1a769e73772d44ab0f64d20cceb683845779.zip
dev-ros/tf2_sensor_msgs: fix tests
Closes: https://bugs.gentoo.org/734696 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/tf2_sensor_msgs')
-rw-r--r--dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-0.7.2.ebuild12
-rw-r--r--dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild12
2 files changed, 22 insertions, 2 deletions
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
index 01b0cdc5ab31..cdc4cce3fb4d 100644
--- 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
@@ -21,7 +21,17 @@ RDEPEND="
dev-ros/sensor_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
- test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )
+ test? (
+ $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
+ dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
+ dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ )
dev-ros/cmake_modules
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ dev-cpp/eigen:3
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild b/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild
index 01b0cdc5ab31..cdc4cce3fb4d 100644
--- a/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild
+++ b/dev-ros/tf2_sensor_msgs/tf2_sensor_msgs-9999.ebuild
@@ -21,7 +21,17 @@ RDEPEND="
dev-ros/sensor_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
- test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )
+ test? (
+ $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
+ dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
+ dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ )
dev-ros/cmake_modules
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ dev-cpp/eigen:3
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}