From d1a235d72ddfbcef5c27076eebbaa7009fee0182 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 12 Jul 2022 16:38:30 +0300 Subject: [PATCH] gnu: bcachefs-tools: Enable tests. * gnu/packages/file-systems.scm (bcachefs-tools)[arguments]: Adjust make-flags to find pytest. Don't disable tests. --- gnu/packages/file-systems.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index d77d3be068..a792bd8700 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -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