gnu: unionfs-fuse: Enable tests.

* gnu/packages/linux.scm (unionfs-fuse)[arguments]: Replace 'check phase.
[native-inputs]: Add python, python-pytest.
master
Efraim Flashner 2017-04-24 12:11:55 +03:00
parent 2f861edf5c
commit 094f4b53af
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 9 additions and 1 deletions

View File

@ -1521,8 +1521,16 @@ user-space processes.")
(base32
"0hsn8l1iblvx27bpd4dvnvnbh9ri3sv2f9xzpsnfz3379kb7skgj"))))
(build-system cmake-build-system)
(native-inputs
`(("python" ,python)
("python-pytest" ,python-pytest)))
(inputs `(("fuse" ,fuse)))
(arguments '(#:tests? #f)) ; no tests
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
;; Borrowed from the Makefile
(lambda _ (zero? (system* "python3" "-m" "pytest")))))))
(home-page "https://github.com/rpodgorny/unionfs-fuse")
(synopsis "User-space union file system")
(description