summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-07 16:55:57 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-07 17:32:47 +0200
commit5d56aa375773c33159e72941156012c0a59b49ac (patch)
tree1c593752e8e514088e89bd7ac05ac7225a757cae /dev-ros
parentdev-ros/nodelet: := dep on pluginlib (diff)
downloadgentoo-5d56aa375773c33159e72941156012c0a59b49ac.tar.gz
gentoo-5d56aa375773c33159e72941156012c0a59b49ac.tar.bz2
gentoo-5d56aa375773c33159e72941156012c0a59b49ac.zip
dev-ros/test_nodelet: fix tests
Closes: https://bugs.gentoo.org/624904 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild6
-rw-r--r--dev-ros/test_nodelet/test_nodelet-9999.ebuild6
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild b/dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild
index 0f7a330d3056..2ce8ca8b3e39 100644
--- a/dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild
+++ b/dev-ros/test_nodelet/test_nodelet-1.10.0.ebuild
@@ -26,3 +26,9 @@ DEPEND="${RDEPEND}
)
"
PATCHES=( "${FILESDIR}/gcc6.patch" )
+
+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/test_nodelet/test_nodelet-9999.ebuild b/dev-ros/test_nodelet/test_nodelet-9999.ebuild
index 0f7a330d3056..2ce8ca8b3e39 100644
--- a/dev-ros/test_nodelet/test_nodelet-9999.ebuild
+++ b/dev-ros/test_nodelet/test_nodelet-9999.ebuild
@@ -26,3 +26,9 @@ DEPEND="${RDEPEND}
)
"
PATCHES=( "${FILESDIR}/gcc6.patch" )
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}"
+ ros-catkin_src_test
+}