summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-10-20 18:14:25 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-10-20 18:14:34 +0200
commit3769d96550cf083e6b090401d408ac15680878b2 (patch)
treeb6b87698cd9333a8ad607cac5eb92d55d06ba7b3 /dev-ros
parentleechcraft.eclass: Remove (diff)
downloadgentoo-3769d96550cf083e6b090401d408ac15680878b2.tar.gz
gentoo-3769d96550cf083e6b090401d408ac15680878b2.tar.bz2
gentoo-3769d96550cf083e6b090401d408ac15680878b2.zip
dev-ros/pcl_ros: increase tests tolerance
they fail under high load Closes: https://bugs.gentoo.org/735108 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/pcl_ros/files/tests.patch15
-rw-r--r--dev-ros/pcl_ros/pcl_ros-1.7.2.ebuild1
-rw-r--r--dev-ros/pcl_ros/pcl_ros-9999.ebuild1
3 files changed, 17 insertions, 0 deletions
diff --git a/dev-ros/pcl_ros/files/tests.patch b/dev-ros/pcl_ros/files/tests.patch
new file mode 100644
index 000000000000..dbb2f3030186
--- /dev/null
+++ b/dev-ros/pcl_ros/files/tests.patch
@@ -0,0 +1,15 @@
+Increase tolerance, this fails under high loads
+
+Index: pcl_ros/samples/pcl_ros/segmentation/sample_extract_clusters.launch
+===================================================================
+--- pcl_ros.orig/samples/pcl_ros/segmentation/sample_extract_clusters.launch
++++ pcl_ros/samples/pcl_ros/segmentation/sample_extract_clusters.launch
+@@ -25,7 +25,7 @@
+ <rosparam>
+ topic: /extract_clusters/output
+ hz: 3000
+- hzerror: 2400
++ hzerror: 2900
+ test_duration: 5.0
+ </rosparam>
+ </test>
diff --git a/dev-ros/pcl_ros/pcl_ros-1.7.2.ebuild b/dev-ros/pcl_ros/pcl_ros-1.7.2.ebuild
index 95393ac0ab86..afd8b02fd200 100644
--- a/dev-ros/pcl_ros/pcl_ros-1.7.2.ebuild
+++ b/dev-ros/pcl_ros/pcl_ros-1.7.2.ebuild
@@ -42,3 +42,4 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
)
"
+PATCHES=( "${FILESDIR}/tests.patch" )
diff --git a/dev-ros/pcl_ros/pcl_ros-9999.ebuild b/dev-ros/pcl_ros/pcl_ros-9999.ebuild
index 95393ac0ab86..afd8b02fd200 100644
--- a/dev-ros/pcl_ros/pcl_ros-9999.ebuild
+++ b/dev-ros/pcl_ros/pcl_ros-9999.ebuild
@@ -42,3 +42,4 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
)
"
+PATCHES=( "${FILESDIR}/tests.patch" )