summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-07-12 16:38:30 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-07-12 17:39:57 +0300
commitd1a235d72ddfbcef5c27076eebbaa7009fee0182 (patch)
treeee9d59cbe7927914ef52cd46941c91a3b51cba4e
parentf58ba4031ffc73fbb0b1d1940229267bb1dd41f9 (diff)
downloadguix-d1a235d72ddfbcef5c27076eebbaa7009fee0182.tar.gz
gnu: bcachefs-tools: Enable tests.
* gnu/packages/file-systems.scm (bcachefs-tools)[arguments]: Adjust
make-flags to find pytest.  Don't disable tests.
-rw-r--r--gnu/packages/file-systems.scm7
1 files 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 @@ from a mounted file system.")
                      "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 @@ from a mounted file system.")
                            ,(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