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

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

    gnu: qxmpp: Use #:test-exclude.
    
    * gnu/packages/messaging.scm (qxmpp)[arguments]
    <#:test-exclude>: Move exclude regex here from 'check phase.
    <#:phases>: Remove 'check phase.
    
    Change-Id: I8116db30d3bbbeecc2e166f9d72329142bf4a26c
---
 gnu/packages/messaging.scm | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 5c48c5ff73..469e61bfe0 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -412,17 +412,12 @@ conferencing.")
     (arguments
      `(#:configure-flags (list "-DBUILD_EXAMPLES=false"
                                "-DWITH_GSTREAMER=true")
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "ctest" "-E"
-                       (string-join ;; These tests use the network.
-                        (list "tst_qxmppiceconnection"
-                              "tst_qxmppcallmanager"
-                              "tst_qxmpptransfermanager")
-                        "|"))))))))
+       #:test-exclude
+        (string-join ;; These tests use the network.
+         (list "tst_qxmppiceconnection"
+               "tst_qxmppcallmanager"
+               "tst_qxmpptransfermanager")
+         "|")))
     (native-inputs
      (list pkg-config))
     (inputs

Reply via email to