summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ros/amcl')
-rw-r--r--dev-ros/amcl/amcl-1.17.0.ebuild5
-rw-r--r--dev-ros/amcl/amcl-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/amcl/amcl-1.17.0.ebuild b/dev-ros/amcl/amcl-1.17.0.ebuild
index 82e57ffd18a4..a871a83d6448 100644
--- a/dev-ros/amcl/amcl-1.17.0.ebuild
+++ b/dev-ros/amcl/amcl-1.17.0.ebuild
@@ -62,3 +62,8 @@ src_prepare() {
done
sed -e "s#http://download.ros.org/data/amcl#file://${S}#" -i CMakeLists.txt || die
}
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/amcl/amcl-9999.ebuild b/dev-ros/amcl/amcl-9999.ebuild
index 82e57ffd18a4..a871a83d6448 100644
--- a/dev-ros/amcl/amcl-9999.ebuild
+++ b/dev-ros/amcl/amcl-9999.ebuild
@@ -62,3 +62,8 @@ src_prepare() {
done
sed -e "s#http://download.ros.org/data/amcl#file://${S}#" -i CMakeLists.txt || die
}
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}