mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: mympd: Enable tests.
* gnu/packages/mpd.scm (mympd)[arguments]: Enable tests. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
400cd0870b
commit
419b675d77
1 changed files with 10 additions and 2 deletions
|
@ -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/")
|
||||
|
|
Loading…
Reference in a new issue