all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bruno Victal <mirai@makinata.eu>
To: 64810@debbugs.gnu.org
Cc: Bruno Victal <mirai@makinata.eu>
Subject: [bug#64810] [PATCH 2/2] gnu: mympd: Enable tests.
Date: Sun, 23 Jul 2023 21:06:26 +0100	[thread overview]
Message-ID: <629d82942bf4793ac3ab6067b966c82e909b4f5e.1690142786.git.mirai@makinata.eu> (raw)
In-Reply-To: <cover.1690142534.git.mirai@makinata.eu>

Requires myMPD v11.0.0.

* gnu/packages/mpd.scm (mympd)[arguments]: Enable tests.
---
 gnu/packages/mpd.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 3c00528a97..85b9277a40 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -629,8 +629,16 @@ (define-public mympd
     (arguments
      (list
       #:configure-flags
-      #~(list "-DMYMPD_STRIP_BINARY=OFF")  ; handled by 'strip phase
-      #:tests? #f)) ; no test target
+      #~(list "-DMYMPD_BUILD_TESTING=ON"
+              ;; Handled by 'strip' phase.
+              "-DMYMPD_STRIP_BINARY=OFF")
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                ;; The following test requires network connectivity.
+                (invoke "ctest" "--exclude-regex" "test_http_client")))))))
     (native-inputs (list jq perl pkg-config))
     (inputs (list flac libid3tag lua openssl pcre2))
     (home-page "https://jcorporation.github.io/")
-- 
2.40.1





  parent reply	other threads:[~2023-07-23 20:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-23 20:03 [bug#64810] [PATCH 0/2] gnu: mympd: Update to 11.0.1 Bruno Victal
2023-07-23 20:06 ` [bug#64810] [PATCH 1/2] " Bruno Victal
2023-07-23 20:06 ` Bruno Victal [this message]
2023-08-06 15:44 ` [bug#64810] [PATCH v2 1/2] gnu: mympd: Update to 11.0.2 Bruno Victal
2023-08-06 15:44 ` [bug#64810] [PATCH v2 2/2] gnu: mympd: Enable tests Bruno Victal
2023-08-13  8:04 ` bug#64810: [PATCH 0/2] gnu: mympd: Update to 11.0.1 宋文武 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=629d82942bf4793ac3ab6067b966c82e909b4f5e.1690142786.git.mirai@makinata.eu \
    --to=mirai@makinata.eu \
    --cc=64810@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.