summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-24 14:18:25 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-24 15:44:30 +0200
commit4311a18f92357c0f8edb1ed0fae63733b1bf3c0d (patch)
treef52bc883f6e57fdbf36e25b555469a3c977911c3 /dev-ros/test_nodelet_topic_tools
parentdev-ros/tf2_eigen: add missing test dep (diff)
downloadgentoo-4311a18f92357c0f8edb1ed0fae63733b1bf3c0d.tar.gz
gentoo-4311a18f92357c0f8edb1ed0fae63733b1bf3c0d.tar.bz2
gentoo-4311a18f92357c0f8edb1ed0fae63733b1bf3c0d.zip
dev-ros/test_nodelet_topic_tools: fix tests
Closes: https://bugs.gentoo.org/738618 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/test_nodelet_topic_tools')
-rw-r--r--dev-ros/test_nodelet_topic_tools/test_nodelet_topic_tools-1.10.0.ebuild6
-rw-r--r--dev-ros/test_nodelet_topic_tools/test_nodelet_topic_tools-9999.ebuild6
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ros/test_nodelet_topic_tools/test_nodelet_topic_tools-1.10.0.ebuild b/dev-ros/test_nodelet_topic_tools/test_nodelet_topic_tools-1.10.0.ebuild
index cd5963a62b21..26a96d22d94f 100644
--- a/dev-ros/test_nodelet_topic_tools/test_nodelet_topic_tools-1.10.0.ebuild
+++ b/dev-ros/test_nodelet_topic_tools/test_nodelet_topic_tools-1.10.0.ebuild
@@ -23,3 +23,9 @@ RDEPEND="
dev-ros/rostest
"
DEPEND="${RDEPEND}"
+
+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_topic_tools/test_nodelet_topic_tools-9999.ebuild b/dev-ros/test_nodelet_topic_tools/test_nodelet_topic_tools-9999.ebuild
index cd5963a62b21..26a96d22d94f 100644
--- a/dev-ros/test_nodelet_topic_tools/test_nodelet_topic_tools-9999.ebuild
+++ b/dev-ros/test_nodelet_topic_tools/test_nodelet_topic_tools-9999.ebuild
@@ -23,3 +23,9 @@ RDEPEND="
dev-ros/rostest
"
DEPEND="${RDEPEND}"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}"
+ ros-catkin_src_test
+}