guix-commits
[Top][All Lists]
Advanced

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

59/67: gnu: guix: Disable some test on 32bit.


From: guix-commits
Subject: 59/67: gnu: guix: Disable some test on 32bit.
Date: Tue, 18 Jul 2023 10:16:15 -0400 (EDT)

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

commit 51bb5fede6409a8bef3323565888509094da2cc9
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 9312d34242..ced0c5c2d9 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]