From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/robot_pose_ekf/
Date: Wed, 11 Aug 2021 10:58:47 +0000 (UTC) [thread overview]
Message-ID: <1628679516.f5802145b8065c2bed02f8fc052ce099a5619182.aballier@gentoo> (raw)
commit: f5802145b8065c2bed02f8fc052ce099a5619182
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 11 10:19:23 2021 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 11 10:58:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5802145
dev-ros/robot_pose_ekf: fix tests
Closes: https://bugs.gentoo.org/807322
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
dev-ros/robot_pose_ekf/Manifest | 4 ++++
.../robot_pose_ekf/robot_pose_ekf-1.15.0.ebuild | 25 ++++++++++++++++++++++
dev-ros/robot_pose_ekf/robot_pose_ekf-9999.ebuild | 25 ++++++++++++++++++++++
3 files changed, 54 insertions(+)
diff --git a/dev-ros/robot_pose_ekf/Manifest b/dev-ros/robot_pose_ekf/Manifest
index 910798bf700..42be081e4eb 100644
--- a/dev-ros/robot_pose_ekf/Manifest
+++ b/dev-ros/robot_pose_ekf/Manifest
@@ -1 +1,5 @@
+DIST robot_pose_ekf-1.15.0-ekf_test2_indexed.bag 3693526 BLAKE2B 44dd3664a74233a75811d9979ce94bbf5a2b25544b9ffef7e1033fd68f3f119775db9bdec8d41ca85d409b9bf7784c1d8362f521159819ff9800d2206c01f172 SHA512 fb98e063e61b6424463e39d0e1bc7541632adce0533180a64801107927cc51c63d9e969c37d013df9230148db8687c810c0938389ca49712b5fbd48ee0063e0c
+DIST robot_pose_ekf-1.15.0-zero_covariance_indexed.bag 71021 BLAKE2B 6cf243bb4b230488990c866a8b4d9166664aee8b236ea2b0fc4a0e6139e781ada2378d7605022fd30a16e17604619d9b121273ede0b7b2a059852d378454d931 SHA512 0772c6481e227dbeb8e09a2e344708570696037f8f79e90d00bb9f2ed8881410b56cfbfbccd20cfb06b3a5298afbf831515f897a97f3e97caa7e87ebdfe47abd
DIST robot_pose_ekf-1.15.0.tar.gz 18789 BLAKE2B a2110275633291926d73e5a5d352b135836a12645078251967f1bdfeda2e1e266204dcb0d9c240362b9c63b82170f91a92ed8cb372d2b1b99faf3c5459bbd5fc SHA512 a17373488e229ecb3d9c00a44b1f4e9c458f392460d0828c5cc36df91b2a70efaf345aaa3ad2d7b031a442c2e2cac81b7d3a4dd59a280b14a67b9c6c1bb7e41c
+DIST robot_pose_ekf-9999-ekf_test2_indexed.bag 3693526 BLAKE2B 44dd3664a74233a75811d9979ce94bbf5a2b25544b9ffef7e1033fd68f3f119775db9bdec8d41ca85d409b9bf7784c1d8362f521159819ff9800d2206c01f172 SHA512 fb98e063e61b6424463e39d0e1bc7541632adce0533180a64801107927cc51c63d9e969c37d013df9230148db8687c810c0938389ca49712b5fbd48ee0063e0c
+DIST robot_pose_ekf-9999-zero_covariance_indexed.bag 71021 BLAKE2B 6cf243bb4b230488990c866a8b4d9166664aee8b236ea2b0fc4a0e6139e781ada2378d7605022fd30a16e17604619d9b121273ede0b7b2a059852d378454d931 SHA512 0772c6481e227dbeb8e09a2e344708570696037f8f79e90d00bb9f2ed8881410b56cfbfbccd20cfb06b3a5298afbf831515f897a97f3e97caa7e87ebdfe47abd
diff --git a/dev-ros/robot_pose_ekf/robot_pose_ekf-1.15.0.ebuild b/dev-ros/robot_pose_ekf/robot_pose_ekf-1.15.0.ebuild
index 59f91b30ba1..c4df8f75e8e 100644
--- a/dev-ros/robot_pose_ekf/robot_pose_ekf-1.15.0.ebuild
+++ b/dev-ros/robot_pose_ekf/robot_pose_ekf-1.15.0.ebuild
@@ -29,3 +29,28 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
)
virtual/pkgconfig"
+
+TEST_DATA="ekf_test2_indexed.bag zero_covariance_indexed.bag"
+
+SRC_URI="${SRC_URI} test? ( "
+for i in ${TEST_DATA}; do
+ SRC_URI="${SRC_URI} http://download.ros.org/data/robot_pose_ekf/${i} -> ${P}-${i}"
+done
+SRC_URI="${SRC_URI} )"
+
+src_prepare() {
+ ros-catkin_src_prepare
+ if use test; then
+ for i in ${TEST_DATA} ; do
+ cp "${DISTDIR}/${P}-${i}" "${S}/${i}" || die
+ done
+ sed \
+ -e "s#http://download.ros.org/data/robot_pose_ekf#file://${S}#" \
+ -i CMakeLists.txt || die
+ fi
+}
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/robot_pose_ekf/robot_pose_ekf-9999.ebuild b/dev-ros/robot_pose_ekf/robot_pose_ekf-9999.ebuild
index 59f91b30ba1..c4df8f75e8e 100644
--- a/dev-ros/robot_pose_ekf/robot_pose_ekf-9999.ebuild
+++ b/dev-ros/robot_pose_ekf/robot_pose_ekf-9999.ebuild
@@ -29,3 +29,28 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
)
virtual/pkgconfig"
+
+TEST_DATA="ekf_test2_indexed.bag zero_covariance_indexed.bag"
+
+SRC_URI="${SRC_URI} test? ( "
+for i in ${TEST_DATA}; do
+ SRC_URI="${SRC_URI} http://download.ros.org/data/robot_pose_ekf/${i} -> ${P}-${i}"
+done
+SRC_URI="${SRC_URI} )"
+
+src_prepare() {
+ ros-catkin_src_prepare
+ if use test; then
+ for i in ${TEST_DATA} ; do
+ cp "${DISTDIR}/${P}-${i}" "${S}/${i}" || die
+ done
+ sed \
+ -e "s#http://download.ros.org/data/robot_pose_ekf#file://${S}#" \
+ -i CMakeLists.txt || die
+ fi
+}
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
next reply other threads:[~2021-08-11 10:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-11 10:58 Alexis Ballier [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-08-09 15:46 [gentoo-commits] repo/gentoo:master commit in: dev-ros/robot_pose_ekf/ Alexis Ballier
2020-07-30 13:18 Alexis Ballier
2018-03-25 13:48 Alexis Ballier
2017-08-23 7:30 Alexis Ballier
2017-08-15 6:25 Alexis Ballier
2016-10-06 13:47 Alexis Ballier
2016-10-06 13:47 Alexis Ballier
2016-05-23 9:01 Alexis Ballier
2015-11-01 10:07 Alexis Ballier
2015-09-30 12:04 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1628679516.f5802145b8065c2bed02f8fc052ce099a5619182.aballier@gentoo \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox