summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-07-29 17:46:40 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-07-29 18:25:16 +0200
commit1edeaf854a026e01fd68ea53da9f5f1285b825f6 (patch)
tree06d74081b731ca50c9eb8552121da8043231aa5d /dev-ros
parentdev-ros/joint_state_publisher: add proper search path for tests (diff)
downloadgentoo-1edeaf854a026e01fd68ea53da9f5f1285b825f6.tar.gz
gentoo-1edeaf854a026e01fd68ea53da9f5f1285b825f6.tar.bz2
gentoo-1edeaf854a026e01fd68ea53da9f5f1285b825f6.zip
dev-ros/test_bond: add search path for tests
Closes: https://bugs.gentoo.org/624902 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_bond/test_bond-1.8.5.ebuild5
-rw-r--r--dev-ros/test_bond/test_bond-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/test_bond/test_bond-1.8.5.ebuild b/dev-ros/test_bond/test_bond-1.8.5.ebuild
index f0bb2bfd33da..cd85cdd267fc 100644
--- a/dev-ros/test_bond/test_bond-1.8.5.ebuild
+++ b/dev-ros/test_bond/test_bond-1.8.5.ebuild
@@ -22,3 +22,8 @@ RDEPEND="
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/test_bond/test_bond-9999.ebuild b/dev-ros/test_bond/test_bond-9999.ebuild
index f0bb2bfd33da..cd85cdd267fc 100644
--- a/dev-ros/test_bond/test_bond-9999.ebuild
+++ b/dev-ros/test_bond/test_bond-9999.ebuild
@@ -22,3 +22,8 @@ RDEPEND="
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}