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
This commit is contained in:
Greg Hogan 2024-10-22 18:09:27 +00:00
parent ab8d76505d
commit 09f3842603
No known key found for this signature in database
GPG key ID: EF6EB27413CFEEF3

View file

@ -414,17 +414,12 @@ conferencing.")
(arguments (arguments
`(#:configure-flags (list "-DBUILD_EXAMPLES=false" `(#:configure-flags (list "-DBUILD_EXAMPLES=false"
"-DWITH_GSTREAMER=true") "-DWITH_GSTREAMER=true")
#:phases #:test-exclude
(modify-phases %standard-phases (string-join ;; These tests use the network.
(replace 'check (list "tst_qxmppiceconnection"
(lambda* (#:key tests? #:allow-other-keys) "tst_qxmppcallmanager"
(when tests? "tst_qxmpptransfermanager")
(invoke "ctest" "-E" "|")))
(string-join ;; These tests use the network.
(list "tst_qxmppiceconnection"
"tst_qxmppcallmanager"
"tst_qxmpptransfermanager")
"|"))))))))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(inputs (inputs