gnu: wavpack: Enable test suite.

* gnu/packages/audio.scm (wavpack)[arguments]: Add configure-flag to
build test program. Use custom 'check phase to run test suite.
This commit is contained in:
Efraim Flashner 2021-03-29 10:38:25 +03:00
parent 5a4d0a6531
commit d970303589
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3270,7 +3270,15 @@ (define-public wavpack
(build-system gnu-build-system)
(arguments
'(#:configure-flags
(list "--disable-static")))
(list "--disable-static"
"--enable-tests")
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "./cli/wvtest" "--default" "--short"))
#t)))))
(home-page "https://www.wavpack.com/")
(synopsis "Hybrid lossless audio codec")
(description