[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: unionfs-fuse: Enable tests.
From: |
Efraim Flashner |
Subject: |
02/02: gnu: unionfs-fuse: Enable tests. |
Date: |
Mon, 24 Apr 2017 05:12:21 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 094f4b53af68fb6643a18dd836487224daffdee9
Author: Efraim Flashner <address@hidden>
Date: Mon Apr 24 12:11:55 2017 +0300
gnu: unionfs-fuse: Enable tests.
* gnu/packages/linux.scm (unionfs-fuse)[arguments]: Replace 'check phase.
[native-inputs]: Add python, python-pytest.
---
gnu/packages/linux.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 71e83df..42495a9 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -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