[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/67: gnu: curl: Skip failing test on the Hurd.
From: |
guix-commits |
Subject: |
29/67: gnu: curl: Skip failing test on the Hurd. |
Date: |
Tue, 18 Jul 2023 10:16:06 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit d44e7675522756c5782014937b3b0afa889f6fa8
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Jun 7 21:00:19 2023 +0200
gnu: curl: Skip failing test on the Hurd.
* 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 @@
;; 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,
- 54/67: system: hurd: Add procps to %base-packages/hurd., (continued)
- 54/67: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/07/18
- 16/67: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/07/18
- 27/67: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/18
- 25/67: gnu: c-ares: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 03/67: gnu: commencement: Add git-fetch-from-tarball utility., guix-commits, 2023/07/18
- 65/67: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/07/18
- 10/67: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/07/18
- 04/67: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/07/18
- 43/67: gnu: cmake-minimal: Skip tests on the Hurd., guix-commits, 2023/07/18
- 05/67: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/07/18
- 29/67: gnu: curl: Skip failing test on the Hurd.,
guix-commits <=
- 52/67: gnu: po4a: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 48/67: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/07/18
- 60/67: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/18
- 50/67: gnu: pango: Support build for the Hurd., guix-commits, 2023/07/18
- 47/67: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/18
- 36/67: gnu: cairo: Support building for the Hurd., guix-commits, 2023/07/18
- 66/67: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/07/18
- 01/67: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/07/18
- 11/67: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/18
- 14/67: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd., guix-commits, 2023/07/18