guix-commits
[Top][All Lists]
Advanced

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

34/48: gnu: tcl: Disable troublesome test on the Hurd.


From: guix-commits
Subject: 34/48: gnu: tcl: Disable troublesome test on the Hurd.
Date: Sun, 19 Apr 2020 10:22:16 -0400 (EDT)

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

commit fd7c36dbb709acfc09d7c8f34df166441f1c2758
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Thu Apr 16 13:43:00 2020 +0200

    gnu: tcl: Disable troublesome test on the Hurd.
    
    Socket tests hangs sometimes.
    
    * gnu/packages/tcl.scm (tcl)[arguments]: When compiling for the Hurd, 
disable
    `socket.test'.
---
 gnu/packages/tcl.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
index f17e138..88532f7 100644
--- a/gnu/packages/tcl.scm
+++ b/gnu/packages/tcl.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2014, 2015, 2018 Mark H Weaver <address@hidden>
 ;;; Copyright © 2014 Eric Bavier <address@hidden>
 ;;; Copyright © 2016, 2018 Efraim Flashner <address@hidden>
-;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
+;;; Copyright © 2016, 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
 ;;; Copyright © 2017 Kei Kebreau <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2019 Julien Lepiller <address@hidden>
@@ -35,6 +35,7 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages image)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages hurd)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages xml)
@@ -56,6 +57,12 @@
     (build-system gnu-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
+                  ,@(if (hurd-target?)
+                        '((add-after 'unpack 'disable-troublesome-tests
+                           (lambda _
+                             (rename-file "tests/socket.test" "socket.test")
+                             #t)))
+                        '())
                   (add-before 'configure 'pre-configure
                     (lambda _ (chdir "unix") #t))
                  (add-after 'install 'install-private-headers



reply via email to

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