summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-06 16:30:19 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-06 16:30:19 +0200
commit2c230b957ba3843eac3b82a536916070b7b6e5c6 (patch)
tree6c67aa1af80eccb787c6138f3246c36e5dd5e969 /dev-ros/imu_transformer
parentdev-ros/image_geometry: add missing test dep (diff)
downloadgentoo-2c230b957ba3843eac3b82a536916070b7b6e5c6.tar.gz
gentoo-2c230b957ba3843eac3b82a536916070b7b6e5c6.tar.bz2
gentoo-2c230b957ba3843eac3b82a536916070b7b6e5c6.zip
dev-ros/imu_transformer: fix tests
Closes: https://bugs.gentoo.org/625170 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/imu_transformer')
-rw-r--r--dev-ros/imu_transformer/imu_transformer-0.3.0.ebuild5
-rw-r--r--dev-ros/imu_transformer/imu_transformer-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/imu_transformer/imu_transformer-0.3.0.ebuild b/dev-ros/imu_transformer/imu_transformer-0.3.0.ebuild
index 6c857007d463..ada8e33c774f 100644
--- a/dev-ros/imu_transformer/imu_transformer-0.3.0.ebuild
+++ b/dev-ros/imu_transformer/imu_transformer-0.3.0.ebuild
@@ -29,3 +29,8 @@ DEPEND="${RDEPEND}
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/imu_transformer/imu_transformer-9999.ebuild b/dev-ros/imu_transformer/imu_transformer-9999.ebuild
index 6c857007d463..ada8e33c774f 100644
--- a/dev-ros/imu_transformer/imu_transformer-9999.ebuild
+++ b/dev-ros/imu_transformer/imu_transformer-9999.ebuild
@@ -29,3 +29,8 @@ DEPEND="${RDEPEND}
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}