diff options
author | Alexis Ballier <aballier@gentoo.org> | 2021-12-15 10:34:44 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2021-12-15 11:19:04 +0100 |
commit | dfe4609ca50610ff92675e26db3c75a5d81e50af (patch) | |
tree | eada8ac8dd18e5f3a4e79ca46e423fb75841a289 /dev-ros/test_roscpp/test_roscpp-1.15.13.ebuild | |
parent | dev-ros/test_rosbag_storage: Bump to 1.15.13. (diff) | |
download | gentoo-dfe4609ca50610ff92675e26db3c75a5d81e50af.tar.gz gentoo-dfe4609ca50610ff92675e26db3c75a5d81e50af.tar.bz2 gentoo-dfe4609ca50610ff92675e26db3c75a5d81e50af.zip |
dev-ros/test_roscpp: Bump to 1.15.13.
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/test_roscpp/test_roscpp-1.15.13.ebuild')
-rw-r--r-- | dev-ros/test_roscpp/test_roscpp-1.15.13.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ros/test_roscpp/test_roscpp-1.15.13.ebuild b/dev-ros/test_roscpp/test_roscpp-1.15.13.ebuild new file mode 100644 index 000000000000..38c3002a2918 --- /dev/null +++ b/dev-ros/test_roscpp/test_roscpp-1.15.13.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ROS_REPO_URI="https://github.com/ros/ros_comm" +KEYWORDS="~amd64 ~arm" +ROS_SUBDIR=test/${PN} +CATKIN_HAS_MESSAGES=yes +CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/rosgraph_msgs dev-ros/std_msgs" + +inherit ros-catkin + +DESCRIPTION="Unit tests for roscpp" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-ros/roscpp + dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] + dev-ros/rosunit[${PYTHON_SINGLE_USEDEP}] + dev-ros/std_srvs[${CATKIN_MESSAGES_CXX_USEDEP}] + dev-libs/boost:=[threads(+)] + test? ( + dev-cpp/gtest + ) +" +REQUIRED_USE="test? ( ros_messages_cxx )" +PATCHES=( "${FILESDIR}/tests.patch" ) + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + # Sometimes high number of tests running in parallel make them fail + # https://bugs.gentoo.org/738620 + ros-catkin_src_test -j 1 +} |