summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-24 13:51:12 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-24 15:44:29 +0200
commite2d6b313c62b85e71ca9ac1083dabb76839963e3 (patch)
tree851deb765481d108237c05a2fa356dd46918155f /dev-ros/self_test
parentdev-ros/tf2_bullet: add missing deps (diff)
downloadgentoo-e2d6b313c62b85e71ca9ac1083dabb76839963e3.tar.gz
gentoo-e2d6b313c62b85e71ca9ac1083dabb76839963e3.tar.bz2
gentoo-e2d6b313c62b85e71ca9ac1083dabb76839963e3.zip
dev-ros/self_test: fix tests
Closes: https://bugs.gentoo.org/738628 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/self_test')
-rw-r--r--dev-ros/self_test/self_test-1.9.4.ebuild5
-rw-r--r--dev-ros/self_test/self_test-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/self_test/self_test-1.9.4.ebuild b/dev-ros/self_test/self_test-1.9.4.ebuild
index 3499355435bc..508f8474c698 100644
--- a/dev-ros/self_test/self_test-1.9.4.ebuild
+++ b/dev-ros/self_test/self_test-1.9.4.ebuild
@@ -22,3 +22,8 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-ros/diagnostic_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
test? ( dev-ros/rostest )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/self_test/self_test-9999.ebuild b/dev-ros/self_test/self_test-9999.ebuild
index 3499355435bc..508f8474c698 100644
--- a/dev-ros/self_test/self_test-9999.ebuild
+++ b/dev-ros/self_test/self_test-9999.ebuild
@@ -22,3 +22,8 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-ros/diagnostic_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
test? ( dev-ros/rostest )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}