gnu: Remove BUILD_TESTING configuration flag.

* gnu/packages/assembly.scm (cpu-features),
* gnu/packages/astronomy.scm (casacore),
* gnu/packages/bioinformatics.scm (morpheus),
* gnu/packages/code.scm (rtags),
* gnu/packages/education.scm (gcompris-qt),
* gnu/packages/game-development.scm (libccd),
* gnu/packages/geo.scm (cloudcompare),
* gnu/packages/glib.scm (dbus-cxx),
* gnu/packages/graph.scm (faiss),
* gnu/packages/graphics.scm (f3d, mmg),
* gnu/packages/i2p.scm (i2pd),
* gnu/packages/image-processing.scm (vtk),
* gnu/packages/image.scm (openjpeg),
* gnu/packages/irc.scm (quassel),
* gnu/packages/jami.scm (jami),
* gnu/packages/kde.scm (kapptemplate, kdeconnect, kdenlive, krita),
* gnu/packages/kde-frameworks.scm (purpose, purpose-5),
* gnu/packages/kde-office.scm (calligra, ghostwriter),
* gnu/packages/linux.scm (bpftrace),
* gnu/packages/maths.scm (blitz, double-conversion, hpcombi, lapack,
vc),
* gnu/packages/messaging.scm (libsignal-protocol-c),
* gnu/packages/mold.scm (mold),
* gnu/packages/music.scm (sonivox),
* gnu/packages/networking.scm (dhtnet),
* gnu/packages/opencl.scm (opencl-clhpp),
* gnu/packages/openpgp.scm (rnp),
* gnu/packages/photo.scm (darktable),
* gnu/packages/popt.scm (gflags),
* gnu/packages/rdesktop.scm (freerdp),
* gnu/packages/security-token.scm (cppcodec),
* gnu/packages/terminals.scm (libtsm),
* gnu/packages/text-editors.scm (jucipp),
* gnu/packages/xdisorg.scm (xsettingsd)
[arguments]<#:configure-flags>: Remove BUILD_TESTING.

* gnu/packages/jupyter.scm (xeus)
[arguments]: Disable tests.
<#:configure-flags>: Remove BUILD_TESTING.

Change-Id: I6870720cdd2b10c7afacf0c6e7400cd1d73a1209
This commit is contained in:
Greg Hogan 2025-05-13 20:40:36 +00:00
parent 4b11d0526c
commit 50c3fd729a
No known key found for this signature in database
GPG key ID: EF6EB27413CFEEF3
34 changed files with 31 additions and 81 deletions

View file

@ -747,10 +747,9 @@ files.")
(build-system cmake-build-system)
(arguments
(list
#:tests? #f
#:tests? #f ;; XXX: insists on using bundled googletest
#:configure-flags
#~(list "-DBUILD_TESTING=off" ;; XXX: insists on using bundled googletest
"-DBUILD_SHARED_LIBS=ON"
#~(list "-DBUILD_SHARED_LIBS=ON"
#$@(let ((target (%current-target-system)))
(if target
(cond ((string-prefix? "arm" target)

View file

@ -436,7 +436,6 @@ rendering of the atmosphere model and examine its properties.
#:configure-flags
#~(list "-DBUILD_PYTHON3=ON"
"-DBUILD_PYTHON=OFF"
"-DBUILD_TESTING=TRUE"
"-DUSE_HDF5=ON"
"-DUSE_OPENMP=OFF"
"-DUSE_THREADS=ON"

View file

@ -11367,7 +11367,6 @@ seamless support for BCF and VCF files.")
(list
#:configure-flags
'(list "-DMORPHEUS_GUI=OFF"
"-DBUILD_TESTING=ON"
"-DDOWNLOAD_XTENSOR=OFF")
#:phases
'(modify-phases %standard-phases

View file

@ -711,8 +711,7 @@ possible to collect coverage information without special compiler switches.")
(arguments
'(#:build-type "RelWithDebInfo"
#:configure-flags
'("-DRTAGS_NO_ELISP_FILES=1"
"-DBUILD_TESTING=FALSE")
'("-DRTAGS_NO_ELISP_FILES=1")
#:tests? #f))
(native-inputs
(list pkg-config))

View file

@ -240,8 +240,7 @@ of categories with some of the activities available in that category.
(setenv "DISPLAY" ":1")
;; The test suite wants to write to /homeless-shelter
(setenv "HOME" (getcwd)))))
#:configure-flags #~(list "-DQML_BOX2D_MODULE=disabled"
"-DBUILD_TESTING=TRUE")))
#:configure-flags #~(list "-DQML_BOX2D_MODULE=disabled")))
(native-inputs
(list extra-cmake-modules
gettext-minimal

View file

@ -3244,7 +3244,6 @@ is designed to be used in interactive 3D graphics applications.")
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DBUILD_DOCUMENTATION=ON"
"-DBUILD_TESTING=ON"
"-DENABLE_DOUBLE_PRECISION=ON")))
(native-inputs
(list python-sphinx))

View file

@ -4144,7 +4144,6 @@ and 2D images (photos taken using a 3D imaging system).")
#:configure-flags #~(list
;; Options
"-DOPTION_BUILD_CCVIEWER=NO"
"-DBUILD_TESTING=ON"
"-DOPTION_USE_SHAPE_LIB=YES"
"-DOPTION_USE_DXF_LIB=YES"
"-DOPTION_USE_GDAL=YES"

View file

@ -1269,8 +1269,7 @@ programming language. It also provides the @command{dbusxx-xml2cpp} and
(snippet '(delete-file-recursively "tools/libcppgenerate"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags #~(list "-DBUILD_TESTING=ON"
"-DENABLE_TOOLS=ON"
(list #:configure-flags #~(list "-DENABLE_TOOLS=ON"
"-DENABLE_GLIB_SUPPORT=ON"
"-DTOOLS_BUNDLED_CPPGENERATE=OFF")
;; There is no /etc/machine-id file in the build environment.

View file

@ -539,8 +539,7 @@ intuitive way.")
(arguments
(list #:configure-flags
#~'("-DFAISS_ENABLE_GPU=OFF" ; thanks, but no thanks, CUDA.
"-DFAISS_ENABLE_PYTHON=OFF"
"-DBUILD_TESTING=ON")))
"-DFAISS_ENABLE_PYTHON=OFF")))
(inputs
(list openblas))
(native-inputs

View file

@ -3069,7 +3069,6 @@ generated discrete signed distance field using the cubic spline kernel.
(string-append "-DCMAKE_INSTALL_MANDIR=" #$output "/share/man")
"-DBUILD_SHARED_LIBS=ON"
"-DBUILD_DOC=ON"
"-DBUILD_TESTING=ON"
;; The longer tests are for continuous integration and
;; depend on input data which must be downloaded.
"-DONLY_VERY_SHORT_TESTS=ON"
@ -3295,7 +3294,6 @@ desired local properties.")
#:configure-flags
#~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output
"/share/doc/" #$name "-" #$version)
"-DBUILD_TESTING=OFF"
"-DF3D_LINUX_GENERATE_MAN=ON"
"-DF3D_USE_EXTERNAL_CXXOPTS=ON"
"-DF3D_USE_EXTERNAL_NLOHMANN_JSON=ON"

View file

@ -54,8 +54,7 @@
#:configure-flags
#~(list (string-append "-S" #$source "/build")
"-DWITH_UPNP=ON"
"-DBUILD_SHARED_LIBS=ON"
"-DBUILD_TESTING=ON")))
"-DBUILD_SHARED_LIBS=ON")))
(home-page "https://i2pd.website/")
(synopsis "Router for an end-to-end encrypted and anonymous internet")
(description "i2pd is a client for the anonymous I2P network, upon which

View file

@ -366,8 +366,7 @@ many popular formats.")
(arguments
(list #:build-type "Release" ;Build without '-g' to save space.
#:configure-flags
#~'( ;;"-DBUILD_TESTING:BOOL=TRUE" ;not honored
"-DVTK_USE_EXTERNAL=OFF" ;default
#~'("-DVTK_USE_EXTERNAL=OFF" ;default
"-DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion=ON"
"-DVTK_MODULE_USE_EXTERNAL_VTK_eigen=ON"
"-DVTK_MODULE_USE_EXTERNAL_VTK_expat=ON"

View file

@ -1036,7 +1036,6 @@ test suite, including conformance tests (following Rec. ITU-T T.803 | ISO/IEC
(list
"-DBUILD_STATIC_LIBS=OFF"
"-DBUILD_UNIT_TESTS=ON"
"-DBUILD_TESTING=ON"
(string-append "-DOPJ_DATA_ROOT="
(assoc-ref %build-inputs "openjpeg-data")))
#:phases

View file

@ -292,8 +292,7 @@ setting @env{LUA_PATH} and @env{LUA_CPATH} in glirc's run-time environment.")
(arguments
;; The three binaries are not mutually exlusive, and are all built
;; by default.
'(#:configure-flags '("-DBUILD_TESTING=ON"
;;"-DWANT_QTCLIENT=OFF"
'(#:configure-flags '(;;"-DWANT_QTCLIENT=OFF"
;;"-DWANT_CORE=OFF"
;;"-DWANT_MONO=OFF"
"-DWITH_KDE=OFF"

View file

@ -251,7 +251,6 @@ QSortFilterProxyModel conveniently exposed for QML.")
#:qtbase qtbase
#:configure-flags
#~(list "-DWITH_DAEMON_SUBMODULE=OFF"
"-DBUILD_TESTING=ON"
(string-append "-DBUILD_VERSION=" #$version)
;; Disable the webengine since it grows the closure size by
;; about 450 MiB and requires more resources.

View file

@ -515,9 +515,9 @@ extensions.")
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags '("-DBUILD_STATIC_LIBS=OFF"
"-DDISABLE_ARCH_NATIVE=ON" ;no '-march=native'
"-DBUILD_TESTING=ON")))
'(#:tests? #f
#:configure-flags '("-DBUILD_STATIC_LIBS=OFF"
"-DDISABLE_ARCH_NATIVE=ON"))) ;no '-march=native'
(native-inputs
(list pkg-config
;; The following inputs are used by the test suite.

View file

@ -5252,8 +5252,7 @@ script engines.")
qtdeclarative
prison))
(arguments
(list #:tests? #f ;; seem to require network; don't find QTQuick components
#:configure-flags #~'("-DBUILD_TESTING=OFF"))) ; not run anyway
(list #:tests? #f)) ;; seem to require network; don't find QTQuick components
(home-page "https://community.kde.org/Frameworks")
(synopsis "Offers available actions for a specific purpose")
(description "This framework offers the possibility to create integrate
@ -5291,9 +5290,7 @@ need.")
qtbase-5
qtdeclarative-5))
(arguments
(list #:tests? #f ;; seem to require network; don't find QTQuick components
;; not run anyway
#:configure-flags #~'("-DBUILD_TESTING=OFF")))))
(list #:tests? #f)))) ;; seem to require network; don't find QTQuick components
(define-public ktextaddons
(package

View file

@ -67,8 +67,6 @@
(arguments
(list #:qtbase qtbase
;; XXX: 26/164 tests fail.
#:configure-flags
#~(list "-DBUILD_TESTING=OFF")
#:tests? #f))
(native-inputs
(list extra-cmake-modules kdoctools perl pkg-config))
@ -166,8 +164,7 @@ Advanced plugins:
(arguments
(list #:qtbase qtbase
#:configure-flags
#~(list "-DQT_MAJOR_VERSION=6"
"-DBUILD_TESTING=ON")))
#~(list "-DQT_MAJOR_VERSION=6")))
(native-inputs
(list extra-cmake-modules kdoctools pkg-config qttools))
(inputs

View file

@ -379,8 +379,7 @@ annotating features.")
;; fails with an unexpected exception.
(list
#:qtbase qtbase
#:configure-flags #~(list "-DBUILD_TESTING=off"
"-DFETCH_OTIO=off")
#:configure-flags #~(list "-DFETCH_OTIO=off")
#:tests? #f
#:phases
#~(modify-phases %standard-phases
@ -536,9 +535,7 @@ such as addition, trigonometric functions or derivatives.")
(base32 "1wiv509y80m6gf891yw55d9429a35axngi922k119zvxfk5641as"))))
(build-system qt-build-system)
(arguments
(list #:qtbase qtbase
#:configure-flags
#~(list "-DBUILD_TESTING=ON")))
(list #:qtbase qtbase))
(native-inputs
(list extra-cmake-modules kdoctools))
(inputs
@ -980,7 +977,7 @@ painting, image manipulating and icon editing.")
(build-system qt-build-system)
(arguments
`(#:tests? #f
#:configure-flags (list "-DBUILD_TESTING=OFF -DCMAKE_CXX_FLAGS=-fPIC")
#:configure-flags (list "-DCMAKE_CXX_FLAGS=-fPIC")
#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-raqm
(lambda _
@ -1639,8 +1636,7 @@ different notification systems.")
(arguments
(list #:qtbase qtbase
#:configure-flags
#~(list "-DBUILD_TESTING=ON"
(string-append "-DQtWaylandScanner_EXECUTABLE="
#~(list (string-append "-DQtWaylandScanner_EXECUTABLE="
#$(this-package-native-input "qtwayland")
"/lib/qt6/libexec/qtwaylandscanner")
"-DKDE_INSTALL_LIBEXECDIR=libexec"

View file

@ -11303,7 +11303,6 @@ modification of BPF objects on the system.")
(arguments
(list
#:test-exclude "(runtime_tests|tools-parsing-test)"
#:configure-flags #~(list "-DBUILD_TESTING=ON")
#:phases
#~(modify-phases %standard-phases
;; This patch also fixes broken compilation due to improper detection

View file

@ -481,8 +481,7 @@ enough to be used effectively as a scientific calculator.")
"0csy4pjw1p8rp6g5qxi2h0ychhhp1fldv7gb761627fs2mclw9gv"))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"
"-DBUILD_TESTING=ON")))
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
(synopsis "Conversion routines for IEEE doubles")
(description
"The double-conversion library provides binary-decimal and decimal-binary
@ -1199,8 +1198,7 @@ large scale eigenvalue problems.")
"-DCBLAS=ON"
"-DLAPACKE=ON"
;; Build the 'LAPACKE_clatms' functions.
"-DLAPACKE_WITH_TMG=ON"
"-DBUILD_TESTING=ON")))
"-DLAPACKE_WITH_TMG=ON")))
(synopsis "Library for numerical linear algebra")
(description
"LAPACK is a Fortran 90 library for solving the most commonly occurring
@ -3252,8 +3250,6 @@ includes a complete LAPACK implementation.")
(sha256
(base32
"0xxqjz4lba57vn65m2k5jxrz0v7y6jwnhxwg6njd4vrafv5w17yv"))))
(arguments
(list #:configure-flags #~(list "-DBUILD_TESTING=ON")))
(native-inputs
(list catch2-3.8))
(build-system cmake-build-system)
@ -8116,8 +8112,7 @@ supports compressed MAT files, as well as newer (version 7.3) MAT files.")
(arguments
(list
#:configure-flags
#~(list "-DBUILD_TESTING=ON"
;; By default, Vc will optimize for the CPU of the build machine.
#~(list ;; By default, Vc will optimize for the CPU of the build machine.
;; Setting this to "none" makes it create portable binaries. See
;; "cmake/OptimizeForArchitecture.cmake".
"-DTARGET_ARCHITECTURE=none")
@ -10647,8 +10642,7 @@ projects up to the certification of critical software.")
(build-system cmake-build-system)
(arguments
(list
#:configure-flags #~(list "-DBUILD_DOC=ON"
"-DBUILD_TESTING=ON")
#:configure-flags #~(list "-DBUILD_DOC=ON")
#:modules '((guix build cmake-build-system)
((guix build gnu-build-system) #:prefix gnu:)
(guix build utils))

View file

@ -569,8 +569,8 @@ your private keys, no previous conversation is compromised.")
(base32
"0z5p03vk15i6h870azfjgyfgxhv31q2vq6rfhnybrnkxq2wqzwhk"))))
(arguments
`(;; Required for proper linking and for tests to run.
#:configure-flags '("-DBUILD_SHARED_LIBS=on" "-DBUILD_TESTING=1")))
`(;; Required for proper linking.
#:configure-flags '("-DBUILD_SHARED_LIBS=on")))
(build-system cmake-build-system)
(inputs (list ;; Required for tests:
check openssl))

View file

@ -61,8 +61,7 @@
#:configure-flags #~(list #$@(if (target-64bit?)
'("-DMOLD_USE_SYSTEM_MIMALLOC=ON")
'("-DMOLD_USE_MIMALLOC=OFF"))
"-DMOLD_USE_SYSTEM_TBB=ON"
"-DBUILD_TESTING=ON")
"-DMOLD_USE_SYSTEM_TBB=ON")
#:phases
#~(modify-phases %standard-phases
(add-before 'configure 'force-system-xxhash

View file

@ -6005,10 +6005,7 @@ the electronic or dubstep genre.")
"0zn9v4lxjpnpdlpnv2px8ch3z0xagmqlvff5pd39pss3mxfp32g0"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags
(if (%current-target-system)
#~(list "-DBUILD_TESTING=OFF")
#~(list "-DBUILD_TESTING=ON"))))
(list #:tests? (not (%current-target-system)))) ; run unless cross-compiling
(native-inputs
(list googletest))
(home-page "https://github.com/pedrolcl/sonivox")

View file

@ -4142,7 +4142,6 @@ A very simple IM client working over the DHT.
(list
#:configure-flags #~(list "-DBUILD_DEPENDENCIES=OFF"
"-DBUILD_SHARED_LIBS=ON"
"-DBUILD_TESTING=ON"
"-DDNC_SYSTEMD=OFF")
#:phases
#~(modify-phases %standard-phases

View file

@ -115,9 +115,7 @@
(arguments
(list #:tests? #f ;The regression tests require a lot more dependencies.
#:configure-flags
#~(list "-DBUILD_EXAMPLES=OFF" "-DBUILD_TESTS=OFF"
;; CTest needs this to be turned off.
"-DBUILD_TESTING=OFF")))
#~(list "-DBUILD_EXAMPLES=OFF" "-DBUILD_TESTS=OFF")))
(native-inputs (list python-wrapper))
(propagated-inputs (list opencl-headers))
(home-page "https://github.khronos.org/OpenCL-CLHPP/")

View file

@ -121,7 +121,6 @@ environments.")
;; Lower the minimum tuning ratio from 6 to 4, as suggested
;; upstream to avoid the s2k_iteration_tuning failing.
"-DS2K_MINIMUM_TUNING_RATIO=4"
"-DBUILD_TESTING=on"
"-DDOWNLOAD_GTEST=off"
"-DDOWNLOAD_RUBYRNP=off")
#:phases

View file

@ -559,7 +559,6 @@ photographic equipment.")
(list
#:configure-flags
#~(list "-DBINARY_PACKAGE_BUILD=On"
"-DBUILD_TESTING=On"
"-DDONT_USE_INTERNAL_LIBRAW=On")
#:phases
#~(modify-phases %standard-phases

View file

@ -135,8 +135,7 @@ similar to getopt(3), it contains a number of enhancements, including:
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"
"-DBUILD_TESTING=ON")))
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
(home-page "https://gflags.github.io/gflags/")
(synopsis "C++ library for command-line argument parsing")
(description

View file

@ -163,7 +163,6 @@ to remotely control a user's Windows desktop.")
#~())
"-DWITH_PULSE=ON"
"-DWITH_CUPS=ON"
"-DBUILD_TESTING=ON"
"-DWITH_SERVER=ON" ;build servers
"-DWITH_SHADOW=ON" ;build shadow server
"-DWITH_PROXY=ON")))

View file

@ -974,8 +974,6 @@ to the @code{python-yubikey-manager} package.")
(base32
"0z39f8w0zvra874az0f67ck1al9kbpaidpilggbl8jnfs05010ck"))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags (list "-DBUILD_TESTING=on")))
(native-inputs (list pkg-config qttools-5))
(inputs (list catch2))
(home-page "https://github.com/tplgy/cppcodec")

View file

@ -290,8 +290,6 @@ text-based approach to terminal recording.")
(delete-file-recursively "external/xkbcommon")
#t))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DBUILD_TESTING=ON")))
(native-inputs
(list check libxkbcommon ; for xkbcommon-keysyms.h
pkg-config))

View file

@ -781,8 +781,7 @@ jmacs, joe, jpico, jstar, and rjoe.")
(delete-file-recursively "lib/json")))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags #~(list "-DBUILD_TESTING=ON")
#:phases
(list #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-tiny-process-library
(lambda* (#:key native-inputs inputs #:allow-other-keys)

View file

@ -3410,8 +3410,7 @@ virtual-pointer (pointer command) protocols.")
(base32 "14gnkz18dipsa2v24f4nm9syxaa7g21iqjm7y65jn849ka2jr1h8"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags #~(list "-DBUILD_TESTING=ON")
#:phases #~(modify-phases %standard-phases
(list #:phases #~(modify-phases %standard-phases
(add-after 'unpack 'disable-problematic-tests
(lambda _
(substitute* "config_parser_test.cc"