diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-07-29 16:05:52 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-07-29 16:08:08 +0200 |
commit | 01d6e612937bd2700bd22876e09aeb520e1a03f7 (patch) | |
tree | ba329062116b82aa6b8d6e4769157d7ef9a917b1 /dev-ros/kdl_parser_py | |
parent | dev-ros/tf_conversions: add missing dep (diff) | |
download | gentoo-01d6e612937bd2700bd22876e09aeb520e1a03f7.tar.gz gentoo-01d6e612937bd2700bd22876e09aeb520e1a03f7.tar.bz2 gentoo-01d6e612937bd2700bd22876e09aeb520e1a03f7.zip |
dev-ros/kdl_parser_py: set proper search path for tests
Closes: https://bugs.gentoo.org/624778
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/kdl_parser_py')
-rw-r--r-- | dev-ros/kdl_parser_py/kdl_parser_py-1.14.0.ebuild | 6 | ||||
-rw-r--r-- | dev-ros/kdl_parser_py/kdl_parser_py-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ros/kdl_parser_py/kdl_parser_py-1.14.0.ebuild b/dev-ros/kdl_parser_py/kdl_parser_py-1.14.0.ebuild index 75567beef2d2..016d69c455fc 100644 --- a/dev-ros/kdl_parser_py/kdl_parser_py-1.14.0.ebuild +++ b/dev-ros/kdl_parser_py/kdl_parser_py-1.14.0.ebuild @@ -18,3 +18,9 @@ RDEPEND=" " DEPEND="${RDEPEND} test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + rm -f "${S}/CATKIN_IGNORE" + ros-catkin_src_test +} diff --git a/dev-ros/kdl_parser_py/kdl_parser_py-9999.ebuild b/dev-ros/kdl_parser_py/kdl_parser_py-9999.ebuild index 75567beef2d2..016d69c455fc 100644 --- a/dev-ros/kdl_parser_py/kdl_parser_py-9999.ebuild +++ b/dev-ros/kdl_parser_py/kdl_parser_py-9999.ebuild @@ -18,3 +18,9 @@ RDEPEND=" " DEPEND="${RDEPEND} test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + rm -f "${S}/CATKIN_IGNORE" + ros-catkin_src_test +} |