diff options
| author | 2020-07-29 16:11:43 +0200 | |
|---|---|---|
| committer | 2020-07-29 16:45:23 +0200 | |
| commit | 4e19f232564148cb085e7f367f79c44e6a9c2f56 (patch) | |
| tree | 7925b4c4519288b4686b95e6da64351a0af27a3e | |
| parent | app-text/sword-modules: add last-rite replacements to the list (diff) | |
| download | gentoo-4e19f232564148cb085e7f367f79c44e6a9c2f56.tar.gz gentoo-4e19f232564148cb085e7f367f79c44e6a9c2f56.tar.bz2 gentoo-4e19f232564148cb085e7f367f79c44e6a9c2f56.zip | |
dev-ros/rospy_tutorials: set proper search path for tests
Closes: https://bugs.gentoo.org/624782
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
| -rw-r--r-- | dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild | 5 | ||||
| -rw-r--r-- | dev-ros/rospy_tutorials/rospy_tutorials-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild b/dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild index 21a4b9e1fc2f..9977f2feee70 100644 --- a/dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild +++ b/dev-ros/rospy_tutorials/rospy_tutorials-0.10.1.ebuild @@ -20,3 +20,8 @@ RDEPEND=" " DEPEND="${RDEPEND} 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/rospy_tutorials/rospy_tutorials-9999.ebuild b/dev-ros/rospy_tutorials/rospy_tutorials-9999.ebuild index 21a4b9e1fc2f..9977f2feee70 100644 --- a/dev-ros/rospy_tutorials/rospy_tutorials-9999.ebuild +++ b/dev-ros/rospy_tutorials/rospy_tutorials-9999.ebuild @@ -20,3 +20,8 @@ RDEPEND=" " DEPEND="${RDEPEND} test? ( dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + ros-catkin_src_test +} |
