diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-07-29 16:08:04 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-07-29 16:08:08 +0200 |
commit | 0b4bf66cf7e6fd647b0bc00dc337e56f17f0f4ef (patch) | |
tree | c436fecd9e097283f1508a44c7085515b4eac8cf /dev-ros/resource_retriever | |
parent | dev-ros/kdl_parser_py: set proper search path for tests (diff) | |
download | gentoo-0b4bf66cf7e6fd647b0bc00dc337e56f17f0f4ef.tar.gz gentoo-0b4bf66cf7e6fd647b0bc00dc337e56f17f0f4ef.tar.bz2 gentoo-0b4bf66cf7e6fd647b0bc00dc337e56f17f0f4ef.zip |
dev-ros/resource_retriever: set proper search path for tests
Closes: https://bugs.gentoo.org/624780
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/resource_retriever')
-rw-r--r-- | dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild | 5 | ||||
-rw-r--r-- | dev-ros/resource_retriever/resource_retriever-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild b/dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild index c1801ac707a6..27d60028ac02 100644 --- a/dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild +++ b/dev-ros/resource_retriever/resource_retriever-1.12.6.ebuild @@ -20,3 +20,8 @@ RDEPEND=" " DEPEND="${RDEPEND} test? ( dev-cpp/gtest )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} diff --git a/dev-ros/resource_retriever/resource_retriever-9999.ebuild b/dev-ros/resource_retriever/resource_retriever-9999.ebuild index c1801ac707a6..27d60028ac02 100644 --- a/dev-ros/resource_retriever/resource_retriever-9999.ebuild +++ b/dev-ros/resource_retriever/resource_retriever-9999.ebuild @@ -20,3 +20,8 @@ RDEPEND=" " DEPEND="${RDEPEND} test? ( dev-cpp/gtest )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} |