summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2021-08-03 17:40:13 +0200
committerAlexis Ballier <aballier@gentoo.org>2021-08-03 17:52:01 +0200
commitd1dd35b0bf2c87a2941ddac804f25699629c3a9b (patch)
treec8a0d81c3284bfe781cb34a978edae631f64aab2 /dev-ros/clear_costmap_recovery
parentdev-ros/clear_costmap_recovery: Remove old (diff)
downloadgentoo-d1dd35b0bf2c87a2941ddac804f25699629c3a9b.tar.gz
gentoo-d1dd35b0bf2c87a2941ddac804f25699629c3a9b.tar.bz2
gentoo-d1dd35b0bf2c87a2941ddac804f25699629c3a9b.zip
dev-ros/clear_costmap_recovery: fix tests
Closes: https://bugs.gentoo.org/796686 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/clear_costmap_recovery')
-rw-r--r--dev-ros/clear_costmap_recovery/clear_costmap_recovery-1.17.1-r1.ebuild5
-rw-r--r--dev-ros/clear_costmap_recovery/clear_costmap_recovery-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/clear_costmap_recovery/clear_costmap_recovery-1.17.1-r1.ebuild b/dev-ros/clear_costmap_recovery/clear_costmap_recovery-1.17.1-r1.ebuild
index 385e41ceda38..3f5cb324e386 100644
--- a/dev-ros/clear_costmap_recovery/clear_costmap_recovery-1.17.1-r1.ebuild
+++ b/dev-ros/clear_costmap_recovery/clear_costmap_recovery-1.17.1-r1.ebuild
@@ -28,3 +28,8 @@ DEPEND="${RDEPEND}
dev-ros/cmake_modules
test? ( dev-ros/rostest dev-cpp/gtest )
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/clear_costmap_recovery/clear_costmap_recovery-9999.ebuild b/dev-ros/clear_costmap_recovery/clear_costmap_recovery-9999.ebuild
index 385e41ceda38..3f5cb324e386 100644
--- a/dev-ros/clear_costmap_recovery/clear_costmap_recovery-9999.ebuild
+++ b/dev-ros/clear_costmap_recovery/clear_costmap_recovery-9999.ebuild
@@ -28,3 +28,8 @@ DEPEND="${RDEPEND}
dev-ros/cmake_modules
test? ( dev-ros/rostest dev-cpp/gtest )
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}