guix_mirror_bot pushed a commit to branch c++-team
in repository guix.

commit e5c74eae8d2dd9c8e3ca98171e1f4e8a1d6cf19e
Author: Greg Hogan <c...@greghogan.com>
AuthorDate: Tue Oct 22 18:09:22 2024 +0000

    gnu: dbus-cxx: Use #:test-exclude.
    
    * gnu/packages/glib.scm (dbus-cxx)[arguments]
    <#:test-exclude>: Move exclude regex here from 'check phase.
    <#:phases>: Remove 'check phase.
    
    Change-Id: I6d2b17be9c2d1575dbebc28baf91990c7a903211
---
 gnu/packages/glib.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index dee0171bb6..1f10714100 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -1273,14 +1273,8 @@ programming language.  It also provides the 
@command{dbusxx-xml2cpp} and
                                      "-DENABLE_TOOLS=ON"
                                      "-DENABLE_GLIB_SUPPORT=ON"
                                      "-DTOOLS_BUNDLED_CPPGENERATE=OFF")
-           #:phases
-           #~(modify-phases %standard-phases
-               (replace 'check
-                 (lambda* (#:key tests? #:allow-other-keys)
-                   (when tests?
-                     ;; There is no /etc/machine-id file in the build
-                     ;; environment.
-                     (invoke "ctest" "-E" "test-machine-uuid-method")))))))
+           ;; There is no /etc/machine-id file in the build environment.
+           #:test-exclude "test-machine-uuid-method"))
     ;; These are propagated due to being referenced in headers and pkg-config
     ;; .pc files.
     (propagated-inputs (list glib libsigc++))

Reply via email to