summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-24 15:14:04 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-24 15:44:34 +0200
commitf377436c2d7d2efe46362ab2f6e03fdf4b9e94b7 (patch)
tree38452e61603faa14c78c66d57d49323ea36bfc21 /dev-ros
parentdev-ros/control_toolbox: add missing test dep (diff)
downloadgentoo-f377436c2d7d2efe46362ab2f6e03fdf4b9e94b7.tar.gz
gentoo-f377436c2d7d2efe46362ab2f6e03fdf4b9e94b7.tar.bz2
gentoo-f377436c2d7d2efe46362ab2f6e03fdf4b9e94b7.zip
dev-ros/kdl_parser: fix tests
Closes: https://bugs.gentoo.org/738558 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/kdl_parser/kdl_parser-1.14.0-r1.ebuild5
-rw-r--r--dev-ros/kdl_parser/kdl_parser-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/kdl_parser/kdl_parser-1.14.0-r1.ebuild b/dev-ros/kdl_parser/kdl_parser-1.14.0-r1.ebuild
index 36a3dcb37dad..fa520608c0bb 100644
--- a/dev-ros/kdl_parser/kdl_parser-1.14.0-r1.ebuild
+++ b/dev-ros/kdl_parser/kdl_parser-1.14.0-r1.ebuild
@@ -27,3 +27,8 @@ DEPEND="${RDEPEND}
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
dev-cpp/gtest
)"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/kdl_parser/kdl_parser-9999.ebuild b/dev-ros/kdl_parser/kdl_parser-9999.ebuild
index 36a3dcb37dad..fa520608c0bb 100644
--- a/dev-ros/kdl_parser/kdl_parser-9999.ebuild
+++ b/dev-ros/kdl_parser/kdl_parser-9999.ebuild
@@ -27,3 +27,8 @@ DEPEND="${RDEPEND}
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
dev-cpp/gtest
)"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}