This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 1cc99c8565 gnu: opencv: Skip failing test on aarch64.
1cc99c8565 is described below
commit 1cc99c8565af9c56bcc93d2635704767465e3cc2
Author: Roman Scherer <[email protected]>
AuthorDate: Sun Dec 14 19:23:13 2025 +0100
gnu: opencv: Skip failing test on aarch64.
* gnu/packages/image-processing.scm (opencv)[arguments]: Disable
ReferenceAccuracy test due to floating-point precision differences
with ARM NEON.
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/image-processing.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/image-processing.scm
b/gnu/packages/image-processing.scm
index 9d5cd62144..d6b490980c 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -645,7 +645,13 @@ different data arrays similar to those available in the
numdiff software.")
(substitute* "modules/photo/test/test_hdr.cpp"
(("0\\.131") "0.222"))
;; These tests hang forever on aarch64.
- (delete-file-recursively "modules/videoio/test/"))
+ (delete-file-recursively "modules/videoio/test/")
+ ;; This test fails on aarch64 due to floating-point
precision
+ ;; differences with ARM NEON.
+ ;; Expected: RMSE <= 0.34, actual: 0.407627
+ (substitute*
"../opencv-contrib/modules/optflow/test/test_OF_accuracy.cpp"
+ (("\\bReferenceAccuracy\\b" all)
+ (string-append "DISABLED_" all))))
'())
,@(if (target-riscv64?)