summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-24 15:09:10 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-24 15:44:34 +0200
commit0cdd0cdddd1a775a1ba35fe6bb0a49bb38709f15 (patch)
tree2f8ff353a8bad963987f6e0c31a87084ddf32ff9 /dev-ros/message_filters
parentdev-ros/message_filters: Remove old (diff)
downloadgentoo-0cdd0cdddd1a775a1ba35fe6bb0a49bb38709f15.tar.gz
gentoo-0cdd0cdddd1a775a1ba35fe6bb0a49bb38709f15.tar.bz2
gentoo-0cdd0cdddd1a775a1ba35fe6bb0a49bb38709f15.zip
dev-ros/message_filters: fix tests
Closes: https://bugs.gentoo.org/738564 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/message_filters')
-rw-r--r--dev-ros/message_filters/message_filters-1.15.8.ebuild5
-rw-r--r--dev-ros/message_filters/message_filters-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/message_filters/message_filters-1.15.8.ebuild b/dev-ros/message_filters/message_filters-1.15.8.ebuild
index 951a2bb853d2..2bbb5486cfc4 100644
--- a/dev-ros/message_filters/message_filters-1.15.8.ebuild
+++ b/dev-ros/message_filters/message_filters-1.15.8.ebuild
@@ -30,3 +30,8 @@ DEPEND="${RDEPEND}
$(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
)"
PATCHES=( "${FILESDIR}/tests.patch" )
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/message_filters/message_filters-9999.ebuild b/dev-ros/message_filters/message_filters-9999.ebuild
index 951a2bb853d2..2bbb5486cfc4 100644
--- a/dev-ros/message_filters/message_filters-9999.ebuild
+++ b/dev-ros/message_filters/message_filters-9999.ebuild
@@ -30,3 +30,8 @@ DEPEND="${RDEPEND}
$(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
)"
PATCHES=( "${FILESDIR}/tests.patch" )
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}