summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-24 15:28:40 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-24 15:44:35 +0200
commit62fb73129f19941691ca63a9830fe7722827c690 (patch)
treee3bd69d9c77538f7a78853397519e5ff79398068 /dev-ros/filters/filters-9999.ebuild
parentdev-ros/geometric_shapes: use c++17 (diff)
downloadgentoo-62fb73129f19941691ca63a9830fe7722827c690.tar.gz
gentoo-62fb73129f19941691ca63a9830fe7722827c690.tar.bz2
gentoo-62fb73129f19941691ca63a9830fe7722827c690.zip
dev-ros/filters: fix tests
Closes: https://bugs.gentoo.org/738554 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/filters/filters-9999.ebuild')
-rw-r--r--dev-ros/filters/filters-9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-ros/filters/filters-9999.ebuild b/dev-ros/filters/filters-9999.ebuild
index 0047a31e5c1..5fdc9dc5d68 100644
--- a/dev-ros/filters/filters-9999.ebuild
+++ b/dev-ros/filters/filters-9999.ebuild
@@ -19,3 +19,9 @@ RDEPEND="dev-ros/roscpp
dev-ros/pluginlib"
DEPEND="${RDEPEND}
test? ( dev-ros/rostest dev-cpp/gtest )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}"
+ ros-catkin_src_test
+}