guix_mirror_bot pushed a commit to branch c++-team
in repository guix.
commit 8aa1630e3449bf012063cc32a80e0ac692843c46
Author: Greg Hogan <[email protected]>
AuthorDate: Wed Apr 2 12:56:49 2025 +0000
gnu: vigra: Fix tests.
* gnu/packages/image.scm (vigra)[arguments]: Delete #:test-exclude.
<#:configure-flags>: Enable tests builds but not auto-execution.
Change-Id: I89b93260be25a772f5de3139bb062097143765e4
---
gnu/packages/image.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 1598d33046..a0967bc5a7 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1461,7 +1461,6 @@ from Lisp and S-expressions, building pixel perfect
badges.")
(native-inputs (list doxygen python-nose python-sphinx))
(arguments
(list
- #:test-target "check"
#:configure-flags
#~(list "-Wno-dev" ;suppress developer mode with lots of warnings
(string-append
@@ -1477,7 +1476,11 @@ from Lisp and S-expressions, building pixel perfect
badges.")
;; needs to be set.
(string-append "-DCMAKE_CXX_FLAGS=-I"
(assoc-ref %build-inputs "ilmbase")
- "/include/OpenEXR" " -ffloat-store"))))
+ "/include/OpenEXR" " -ffloat-store")
+ ;; Tests are not built by default.
+ "-DAUTOBUILD_TESTS=ON"
+ ;; Disable running tests during the build.
+ "-DAUTOEXEC_TESTS=OFF")))
(synopsis "Computer vision library")
(description
"VIGRA stands for Vision with Generic Algorithms. It is an image