Skip to content

Commit

Permalink
dev-ros/diagnostic_aggregator: fix tests
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/624768
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Aug 7, 2020
1 parent e908591 commit 07d17b2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ 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}"
export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}"
ros-catkin_src_test
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ 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}"
export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}"
ros-catkin_src_test
}

0 comments on commit 07d17b2

Please sign in to comment.