guix-commits
[Top][All Lists]
Advanced

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

06/15: gnu: proot: Don't ask to run tests when cross-compiling.


From: guix-commits
Subject: 06/15: gnu: proot: Don't ask to run tests when cross-compiling.
Date: Tue, 30 Aug 2022 03:02:11 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit 0168c65de4ec9f25d5de76998474bedfd2baa7a0
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Aug 28 16:47:39 2022 +0200

    gnu: proot: Don't ask to run tests when cross-compiling.
    
    * gnu/packages/linux.scm
    (proot)[arguments]{#:tests?}: When cross-compiling, set to #false.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/linux.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index d8f1f6912e..b5a2737730 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7687,9 +7687,9 @@ Text-based output formats: CSV, XML, Netfilter's LOG, 
Netfilter's conntrack
      ;; Disable the test suite on armhf-linux, as there are too many
      ;; failures to keep track of (see for example:
      ;; https://github.com/proot-me/proot/issues/286).
-     `(#:tests? ,(not (string-prefix? "armhf"
-                                      (or (%current-target-system)
-                                          (%current-system))))
+     `(#:tests? ,(not (or (%current-target-system)
+                          (string-prefix? "armhf"
+                                          (or (%current-system)))))
        #:make-flags '("-C" "src")
        #:phases (modify-phases %standard-phases
                   (add-after 'unpack 'patch-sources



reply via email to

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