guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/09: gnu: bcachefs-tools: Enable tests.


From: guix-commits
Subject: 06/09: gnu: bcachefs-tools: Enable tests.
Date: Tue, 12 Jul 2022 10:41:48 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit d1a235d72ddfbcef5c27076eebbaa7009fee0182
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 12 16:38:30 2022 +0300

    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 @@ 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]