mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ros/test_roscpp: fix tests
Closes: https://bugs.gentoo.org/734690 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
12
dev-ros/test_roscpp/files/tests.patch
Normal file
12
dev-ros/test_roscpp/files/tests.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
Index: test_roscpp/test/src/CMakeLists.txt
|
||||
===================================================================
|
||||
--- test_roscpp.orig/test/src/CMakeLists.txt
|
||||
+++ test_roscpp/test/src/CMakeLists.txt
|
||||
@@ -290,6 +290,7 @@ if(TARGET tests)
|
||||
${PROJECT_NAME}-left_right
|
||||
${PROJECT_NAME}-string_msg_expect
|
||||
${PROJECT_NAME}-publisher
|
||||
+ ${PROJECT_NAME}-publisher_rate
|
||||
${PROJECT_NAME}-subscriber
|
||||
${PROJECT_NAME}-stamped_topic_statistics_empty_timestamp
|
||||
${PROJECT_NAME}-topic_statistic_frequency
|
||||
@@ -28,3 +28,9 @@ DEPEND="${RDEPEND}
|
||||
)
|
||||
"
|
||||
REQUIRED_USE="test? ( ros_messages_cxx )"
|
||||
PATCHES=( "${FILESDIR}/tests.patch" )
|
||||
|
||||
src_test() {
|
||||
export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
|
||||
ros-catkin_src_test
|
||||
}
|
||||
|
||||
@@ -28,3 +28,9 @@ DEPEND="${RDEPEND}
|
||||
)
|
||||
"
|
||||
REQUIRED_USE="test? ( ros_messages_cxx )"
|
||||
PATCHES=( "${FILESDIR}/tests.patch" )
|
||||
|
||||
src_test() {
|
||||
export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
|
||||
ros-catkin_src_test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user