From a4367fae492d17421867c16eef1754ecdd9a36fd Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Tue, 6 Jun 2023 22:28:56 +0200 Subject: gnu: tcl: Remove failing tests on the Hurd.. * gnu/packages/tcl.scm (tcl)[arguments]: When building natively on the Hurd, add phase 'delete-tests'. --- gnu/packages/tcl.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gnu/packages/tcl.scm') diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm index 2a5fbc6fe8..b69dba2254 100644 --- a/gnu/packages/tcl.scm +++ b/gnu/packages/tcl.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2014, 2015, 2018 Mark H Weaver ;;; Copyright © 2014 Eric Bavier ;;; Copyright © 2016, 2018 Efraim Flashner -;;; Copyright © 2016 Jan Nieuwenhuizen +;;; Copyright © 2016, 2023 Janneke Nieuwenhuizen ;;; Copyright © 2017 Kei Kebreau ;;; Copyright © 2018, 2022 Tobias Geerinckx-Rice ;;; Copyright © 2019 Julien Lepiller @@ -69,7 +69,13 @@ (define-public tcl ;; Programs such as Ghostscript rely on it. (with-directory-excursion bin (symlink (car (find-files "." "tclsh")) - "tclsh")))))) + "tclsh"))))) + ,@(if (system-hurd?) + '((add-after 'unpack 'delete-tests + (lambda _ + (delete-file "tests/chanio.test") + (delete-file "tests/socket.test")))) + '())) ;; By default, man pages are put in PREFIX/man, but we want them in ;; PREFIX/share/man. The 'validate-documentation-location' phase is -- cgit v1.2.3