diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-06-16 11:22:15 +0200 |
---|---|---|
committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-07-21 17:54:43 +0200 |
commit | f46fbd13e787702b164765efb6b086baf6d057be (patch) | |
tree | b2358c0ad17d13c337edc013bf2e1dce65e21cf2 | |
parent | e9969455d3a2a3597cdd35068cfd3e4078214a98 (diff) | |
download | guix-f46fbd13e787702b164765efb6b086baf6d057be.tar.gz |
gnu: guix: Disable some test on 32bit.
* gnu/packages/package-management.scm (guix)[arguments]: When building on or for 32bit, add phase 'disable-tests'.
-rw-r--r-- | gnu/packages/package-management.scm | 11 |
1 files changed, 11 insertions, 0 deletions
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 |