summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-07-29 16:57:45 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-07-29 18:25:15 +0200
commit9131ff8c86ff416b0a28ad6149e0c506bb6139c5 (patch)
tree894754e43076864aaba54b2752c875b42f539b68 /dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild
parentdev-python/elementpath: arm64 stable (bug #734404) (diff)
downloadgentoo-9131ff8c86ff416b0a28ad6149e0c506bb6139c5.tar.gz
gentoo-9131ff8c86ff416b0a28ad6149e0c506bb6139c5.tar.bz2
gentoo-9131ff8c86ff416b0a28ad6149e0c506bb6139c5.zip
dev-ros/joint_state_publisher: add proper search path for tests
Closes: https://bugs.gentoo.org/624896 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild')
-rw-r--r--dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild b/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild
index b36d83a54f2e..4124df047534 100644
--- a/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild
+++ b/dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild
@@ -20,3 +20,8 @@ RDEPEND="${DEPEND}
"
DEPEND="${DEPEND}
test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}