Subject: [PATCH v2 37/65] gnu: qxmpp: Use #:test-exclude.

From: Greg Hogan <[email-masked]>
Date: Tue, 22 Oct 2024 18:09:27 +0000

* 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 c482cd469e..2b7ceabe36 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -410,17 +410,12 @@ (define-public qxmpp
     (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
-- 
2.46.1