diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-24 15:28:40 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-24 15:44:35 +0200 |
commit | 62fb73129f19941691ca63a9830fe7722827c690 (patch) | |
tree | e3bd69d9c77538f7a78853397519e5ff79398068 /dev-ros/filters | |
parent | dev-ros/geometric_shapes: use c++17 (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-ros/filters/filters-1.9.0.ebuild | 6 | ||||
-rw-r--r-- | dev-ros/filters/filters-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ros/filters/filters-1.9.0.ebuild b/dev-ros/filters/filters-1.9.0.ebuild index 0047a31e5c1d..5fdc9dc5d689 100644 --- a/dev-ros/filters/filters-1.9.0.ebuild +++ b/dev-ros/filters/filters-1.9.0.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 +} diff --git a/dev-ros/filters/filters-9999.ebuild b/dev-ros/filters/filters-9999.ebuild index 0047a31e5c1d..5fdc9dc5d689 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 +} |