From 1f69a0e1f6fca55f5b3570a6eb1ccb6746237db4 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Tue, 22 Oct 2024 18:09:22 +0000 Subject: [PATCH] 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 2493644c45..8cc411b631 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -1254,14 +1254,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++))