summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-07-29 16:05:52 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-07-29 16:08:08 +0200
commit01d6e612937bd2700bd22876e09aeb520e1a03f7 (patch)
treeba329062116b82aa6b8d6e4769157d7ef9a917b1 /dev-ros/kdl_parser_py
parentdev-ros/tf_conversions: add missing dep (diff)
downloadgentoo-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.ebuild6
-rw-r--r--dev-ros/kdl_parser_py/kdl_parser_py-9999.ebuild6
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
+}