gnu: bcachefs-tools: Enable tests.

* gnu/packages/file-systems.scm (bcachefs-tools)[arguments]: Adjust
make-flags to find pytest.  Don't disable tests.
This commit is contained in:
Efraim Flashner 2022-07-12 16:38:30 +03:00
parent f58ba4031f
commit d1a235d72d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -428,7 +428,9 @@ (define-public bcachefs-tools
"INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools"
(string-append "CC=" #$(cc-for-target))
(string-append "PKG_CONFIG=" #$(pkg-config-for-target))
"PYTEST=pytest")
(string-append "PYTEST_CMD="
#$(this-package-native-input "python-pytest")
"/bin/pytest"))
#:phases
#~(modify-phases %standard-phases
(delete 'configure) ; no configure script
@ -444,8 +446,7 @@ (define-public bcachefs-tools
,(list (string-append #$output "/sbin")
(string-append #$coreutils-minimal "/bin")
(string-append #$gawk "/bin")
(string-append #$util-linux "/bin"))))))))
#:tests? #f)) ; XXX 6 valgrind tests fail
(string-append #$util-linux "/bin"))))))))))
(native-inputs
(append
(list pkg-config