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