gnu: kiconthemes: Enable testing.

* gnu/packages/kde-frameworks.scm (kiconthemes)[arguments]<#:phases>:
Add 'enable-testing phase.

Change-Id: I7d8e600f19518fa8d5ba09cfd11a345449aadbd6
This commit is contained in:
Greg Hogan 2025-05-08 16:16:15 +00:00
parent f4ce754028
commit 4b11d0526c
No known key found for this signature in database
GPG key ID: EF6EB27413CFEEF3

View file

@ -3804,6 +3804,11 @@ window does not need focus for them to be activated.")
(arguments (arguments
(list #:phases (list #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'enable-testing
(lambda _
(substitute* "CMakeLists.txt"
(("if \\(BUILD_TESTING\\)" all)
(string-append all "\n enable_testing()")))))
(add-before 'check 'check-setup (add-before 'check 'check-setup
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "HOME" (getcwd)) (setenv "HOME" (getcwd))