[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64711] [PATCH 19/43] gnu: curl: Skip failing test on the Hurd.
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#64711] [PATCH 19/43] gnu: curl: Skip failing test on the Hurd. |
Date: |
Tue, 18 Jul 2023 16:40:12 +0200 |
* gnu/packages/curl.scm (curl)[arguments]: When building natively on the Hurd,
add phase 'skip-tests'.
---
gnu/packages/curl.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 76fcc115cf..4e3c563570 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -11,7 +11,7 @@
;;; Copyright © 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Dale Mellor <guix-devel-0brg6b@rdmp.org>
-;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
@@ -125,7 +125,22 @@ (define-public curl
;; The top-level "make check" does "make -C tests quiet-test",
which
;; is too quiet. Use the "test" target instead, which is more
;; verbose.
- (invoke "make" "-C" "tests" "test")))))))
+ (invoke "make" "-C" "tests" "test"))))
+ #$@(if (system-hurd?)
+ #~((add-after 'unpack 'skip-tests
+ (lambda _
+ (let ((port (open-file "tests/data/DISABLED" "a")))
+ (display "526\n" port)
+ (display "527\n" port)
+ (display "532\n" port)
+ (display "533\n" port)
+ (display "537\n" port)
+ (display "546\n" port)
+ (display "575\n" port)
+ (display "1021\n" port)
+ (display "1501\n" port)
+ (close port)))))
+ #~()))))
(synopsis "Command line tool for transferring data with URL syntax")
(description
"curl is a command line tool for transferring data with URL syntax,
--
2.40.1
- [bug#64711] [PATCH 13/43] gnu: elfutils: Skip failing tests on the Hurd., (continued)
- [bug#64711] [PATCH 13/43] gnu: elfutils: Skip failing tests on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 08/43] gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 10/43] gnu: openssl: Build fix for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 12/43] gnu: mpfr: Skip failing test on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 17/43] gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 20/43] gnu: git: Skip failing test on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 18/43] gnu: tcl: Remove failing tests on the Hurd.., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 19/43] gnu: curl: Skip failing test on the Hurd.,
Janneke Nieuwenhuizen <=
- [bug#64711] [PATCH 22/43] gnu: procps: Skip linux-version test for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 16/43] gnu: libgpg-error: Skip failing test on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 24/43] gnu: parted: Disable tests for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 11/43] gnu: python: Support native build on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 21/43] gnu: emacs: Depend on libc-for-target., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 27/43] gnu: openssl-1.1: Fix shared build for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 23/43] gnu: e2fsprogs: Skip failing tests on the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64711] [PATCH 25/43] gnu: libpaper: Disable tests for the Hurd., Janneke Nieuwenhuizen, 2023/07/18