Skip to content

Commit

Permalink
dev-ros/controller_manager: fix tests when package is not installed
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/775080
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Apr 9, 2021
1 parent dee0bf2 commit e06f428
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions dev-ros/controller_manager/controller_manager-0.19.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ DEPEND="${RDEPEND}
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
dev-cpp/gtest
)"

src_test() {
export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
ros-catkin_src_test
}
7 changes: 6 additions & 1 deletion dev-ros/controller_manager/controller_manager-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -33,3 +33,8 @@ DEPEND="${RDEPEND}
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
dev-cpp/gtest
)"

src_test() {
export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
ros-catkin_src_test
}

0 comments on commit e06f428

Please sign in to comment.