guix-commits
[Top][All Lists]
Advanced

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

87/92: gnu: guix: Disable some tests on the Hurd.


From: guix-commits
Subject: 87/92: gnu: guix: Disable some tests on the Hurd.
Date: Fri, 23 Jun 2023 12:45:48 -0400 (EDT)

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

commit bda98632ff93b6295fb122f654d150d97b2c7131
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Jun 19 17:19:56 2023 +0200

    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 f893a310a6..377bbec64c 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -271,6 +271,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]