[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/85: gnu: findutils: Move test-strerror_r from XFAIL to skip for the H
From: |
guix-commits |
Subject: |
41/85: gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd. |
Date: |
Thu, 15 Jun 2023 02:32:41 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit eeeba5616affdb3723a6d04989ff4de5f167c8ef
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Jun 2 16:47:36 2023 +0200
gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd.
* gnu/packages/base.scm (findutils)[arguments]: When building for the Hurd,
remove #:make-flags as "test-strerror_r" fails non-deterministically.
Instead, add 'skip-test' phase and skip it.
---
gnu/packages/base.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 8ae2e9bcf5..16743556b6 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -341,10 +341,16 @@ interactive means to merge two files.")
(substitute* '("tests/xargs/verbose-quote.sh"
"tests/find/exec-plus-last-file.sh")
(("#!/bin/sh")
- (string-append "#!" (which "sh")))))))
- #:make-flags ,(if (hurd-target?)
- ''("XFAIL_TESTS=test-strerror_r")
- ''())))
+ (string-append "#!" (which "sh"))))))
+ ,@(if (hurd-target?)
+ '((add-after 'unpack 'skip-tests
+ (lambda _
+ (substitute*
+ ;; This test fails non-deterministically
+ "gnulib-tests/test-strerror_r.c"
+ (("(^| )main *\\(.*" all)
+ (string-append all "{\n exit (77);//"))))))
+ '()))))
(synopsis "Operating on files matching given criteria")
(description
"Findutils supplies the basic file directory searching utilities of the
- 19/85: gnu: hurd: Add rumpkernel., (continued)
- 19/85: gnu: hurd: Add rumpkernel., guix-commits, 2023/06/15
- 22/85: system: hurd: Boot with pci.arbiter and rumpdisk., guix-commits, 2023/06/15
- 23/85: bootloader: grub: Use rumpdisk-style root when booting with "noide"., guix-commits, 2023/06/15
- 30/85: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/06/15
- 26/85: hurd-boot: Cater for netdde., guix-commits, 2023/06/15
- 33/85: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/06/15
- 38/85: gnu: coreutils: Skip hanging and failing test for the Hurd., guix-commits, 2023/06/15
- 44/85: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/06/15
- 37/85: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/06/15
- 58/85: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/06/15
- 41/85: gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd.,
guix-commits <=
- 40/85: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/06/15
- 34/85: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/15
- 74/85: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/06/15
- 55/85: gnu: tcl: Remove failing tests for the Hurd.., guix-commits, 2023/06/15
- 79/85: gnu: po4a: Skip failing test for the Hurd., guix-commits, 2023/06/15
- 35/85: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/15
- 47/85: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/06/15
- 43/85: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/06/15
- 46/85: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/06/15
- 52/85: gnu: c-ares: Skip failing tests for the Hurd., guix-commits, 2023/06/15