guix-commits
[Top][All Lists]
Advanced

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

44/58: gnu: guix: Disable some test on 32bit.


From: guix-commits
Subject: 44/58: gnu: guix: Disable some test on 32bit.
Date: Wed, 19 Jul 2023 03:00:50 -0400 (EDT)

janneke pushed a commit to branch hurd-team
in repository guix.

commit 3832d77f7bb48dc514b5f94372a9eb8df757bc3c
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Jun 16 11:22:15 2023 +0200

    gnu: guix: Disable some test on 32bit.
    
    * gnu/packages/package-management.scm (guix)[arguments]: When building on or
    for 32bit, add phase 'disable-tests'.
---
 gnu/packages/package-management.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/package-management.scm 
b/gnu/packages/package-management.scm
index c6273efbd0..367caf4d29 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -262,6 +262,17 @@ $(prefix)/etc/openrc\n")))
                               (substitute* "tests/gexp.scm"
                                 (("2\\.0") "3.0")))))
                         '())
+                    ,@(if (target-x86-32?)
+                          `((add-after 'unpack 'disable-tests
+                              (lambda _
+                                (substitute* "Makefile.am"
+                                  (("tests/grafts.scm") "")
+                                  (("tests/offload.scm") "")
+                                  (("tests/packages.scm") "")
+                                  (("tests/guix-build.sh") "")
+                                  (("tests/guix-package.sh") "")
+                                  (("tests/guix-system.sh") "")))))
+                        '())
                     (add-before 'build 'use-host-compressors
                       (lambda* (#:key inputs target #:allow-other-keys)
                         (when target



reply via email to

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