1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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 <andreas@enge.fr>
This commit is contained in:
Roman Scherer
2025-12-14 19:23:13 +01:00
committed by Andreas Enge
parent c1f2a0e477
commit 1cc99c8565

View File

@@ -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?)