guix-commits
[Top][All Lists]
Advanced

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

84/89: gnu: guix: Disable some test on 32bit.


From: guix-commits
Subject: 84/89: gnu: guix: Disable some test on 32bit.
Date: Tue, 20 Jun 2023 05:59:03 -0400 (EDT)

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

commit 29510d1717c5060572002ef983bdabef518541e7
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 e3dba508f0..f893a310a6 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -260,6 +260,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]