From f46fbd13e787702b164765efb6b086baf6d057be Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Fri, 16 Jun 2023 11:22:15 +0200 Subject: 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 -- cgit 1.4.1