diff options
| author | Alexis Ballier <aballier@gentoo.org> | 2020-07-29 16:57:45 +0200 |
|---|---|---|
| committer | Alexis Ballier <aballier@gentoo.org> | 2020-07-29 18:25:15 +0200 |
| commit | 9131ff8c86ff416b0a28ad6149e0c506bb6139c5 (patch) | |
| tree | 894754e43076864aaba54b2752c875b42f539b68 | |
| parent | 6bbcc2b33ae6c58995788ee31ea8d16e2b2bd5da (diff) | |
| download | gentoo-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>
| -rw-r--r-- | dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild | 5 | ||||
| -rw-r--r-- | dev-ros/joint_state_publisher/joint_state_publisher-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild b/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild index b36d83a54f2e..4124df047534 100644 --- a/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.ebuild +++ b/dev-ros/joint_state_publisher/joint_state_publisher-1.15.0.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 +} 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 +} |
