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
`(#: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