From 82bbb519a3b1b4d7c3ebee590475b28ca51f976a Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Mon, 19 Jun 2023 17:19:56 +0200 Subject: gnu: guix: Disable some tests on the Hurd. * gnu/packages/package-management.scm (guix)[arguments]: When building on the Hurd, add phase disable-tests/hurd. --- gnu/packages/package-management.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 367caf4d29..966940d4f4 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -273,6 +273,40 @@ $(prefix)/etc/openrc\n"))) (("tests/guix-package.sh") "") (("tests/guix-system.sh") ""))))) '()) + ,@(if (system-hurd?) + `((add-after 'unpack 'disable-tests/hurd + (lambda _ + (substitute* "Makefile.am" + (("tests/derivations.scm") "") + (("tests/graph.scm") "") + (("tests/lint.scm") "") + (("tests/nar.scm") "") + (("tests/pack.scm") "") + (("tests/processes.scm") "") + (("tests/publish.scm") "") + (("tests/pypi.scm") "") + (("tests/size.scm") "") + (("tests/store.scm") "") + (("tests/substitute.scm") "") + (("tests/syscalls.scm") "") + (("tests/union.scm") "") + (("tests/guix-build-branch.sh") "") + (("tests/guix-hash.sh") "") + (("tests/guix-locate.sh") "") + (("tests/guix-pack.sh") "") + (("tests/guix-pack-relocatable.sh") "") + (("tests/guix-package-aliases.sh") "") + (("tests/guix-package-net.sh") "") + (("tests/guix-home.sh") "") + (("tests/guix-archive.sh") "") + (("tests/guix-environment.sh") "") + (("tests/guix-refresh.sh") "") + (("tests/guix-shell.sh") "") + (("tests/guix-shell-export-manifest.sh") "") + (("tests/guix-graph.sh") "") + (("tests/guix-gc.sh") "") + (("tests/guix-daemon.sh") ""))))) + '()) (add-before 'build 'use-host-compressors (lambda* (#:key inputs target #:allow-other-keys) (when target -- cgit 1.4.1