mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: exfatprogs: Run tests.
* gnu/packages/file-systems.scm (exfatprogs)[arguments]: Use G-Expressions. Customise 'check phase to run the tests. Change-Id: I645444eb1b70bb71666ce6fe905e0229007f5a54
This commit is contained in:
parent
ec48c5b2a8
commit
c9a28a87e8
1 changed files with 16 additions and 2 deletions
|
@ -752,8 +752,22 @@ (define-public exfatprogs
|
|||
(base32 "0plj52kjvhy94hdk0bq8bc7ql6yh44x76kryxhn46vwbxayv790j"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list "--disable-static")))
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list "--disable-static")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "FSCK1" "../fsck/fsck.exfat")
|
||||
;; Upstream CI uses a second FSCK provided by its host operating
|
||||
;; system to verify the results of the newly-built one. That
|
||||
;; makes no sense in Guix, but we can detect crashes, unexpected
|
||||
;; inconsistencies, and other badness by testing with only one.
|
||||
(setenv "FSCK2" (getenv "FSCK1"))
|
||||
(with-directory-excursion "tests"
|
||||
(invoke "./test_fsck.sh"))))))))
|
||||
(native-inputs
|
||||
(list autoconf automake libtool pkg-config))
|
||||
(home-page "https://github.com/exfatprogs/exfatprogs")
|
||||
|
|
Loading…
Reference in a new issue