Subject: [PATCH 29/43] gnu: tcsh: Skip substitution tests on the Hurd.

From: Janneke Nieuwenhuizen <[email-masked]>
Date: Tue, 18 Jul 2023 16:40:22 +0200

* 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-masked]>
 ;;; Copyright © 2019 Timothy Sample <[email-masked]>
 ;;; Copyright © 2019 Mathieu Othacehe <[email-masked]>
-;;; Copyright © 2019, 2020 Jan (janneke) Nieuwenhuizen <[email-masked]>
+;;; Copyright © 2019, 2020, 2023 Janneke Nieuwenhuizen <[email-masked]>
 ;;; Copyright © 2020 Brice Waegeneire <[email-masked]>
 ;;; Copyright © 2020 Ryan Prior <[email-masked]>
 ;;; Copyright © 2020, 2022 Efraim Flashner <[email-masked]>
@@ -416,6 +416,13 @@ (define-public tcsh
                           (("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
-- 
2.40.1