oom pushed a commit to branch c++-team in repository guix. commit 7a9a6a68fe84082a6f3335b49f0317acc65e4583 Author: Greg Hogan <c...@greghogan.com> 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 1b87dcfff2..296c848c2a 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1396,7 +1396,6 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.") (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 @@ -1412,7 +1411,11 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.") ;; 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