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

commit 60fa84db718e63b95b8ca154ca6e001a801278ba
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Mon Jun 12 07:26:11 2023 +0200

    gnu: tcsh: Skip substitution tests on the Hurd.
    
    * gnu/packages/shells.scm (tcsh)[arguments]: When building natively on the
    Hurd, add phase 'skip-tests'.
---
 gnu/packages/shells.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 0dae9ee954..aef22efd01 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2019 Meiyo Peng <[email protected]>
 ;;; Copyright © 2019 Timothy Sample <[email protected]>
 ;;; Copyright © 2019 Mathieu Othacehe <[email protected]>
-;;; Copyright © 2019, 2020 Jan (janneke) Nieuwenhuizen <[email protected]>
+;;; Copyright © 2019, 2020, 2023 Janneke Nieuwenhuizen <[email protected]>
 ;;; Copyright © 2020 Brice Waegeneire <[email protected]>
 ;;; Copyright © 2020 Ryan Prior <[email protected]>
 ;;; Copyright © 2020, 2022 Efraim Flashner <[email protected]>
@@ -416,6 +416,13 @@ written by Paul Haahr and Byron Rakitzis.")
                           (("CC_FOR_GETHOST=\"cc\"")
                            "CC_FOR_GETHOST=\"gcc\"")))))
                  #~())
+          #$@(if (system-hurd?)
+                 #~((add-after 'unpack 'skip-tests
+                      (lambda _
+                        (substitute* "tests/testsuite.at"
+                          (("m4_include\\(\\[subst.at\\]\\)" all)
+                           (string-append "# " all))))))
+                 #~())
           (add-before 'check 'patch-test-scripts
             (lambda _
               ;; Take care of pwd

Reply via email to