[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/89: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hu
From: |
guix-commits |
Subject: |
41/89: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd. |
Date: |
Tue, 20 Jun 2023 05:58:56 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 13f5822bfa58aab4af5f4740977a09331f0a9701
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 on the Hurd.
* gnu/packages/base.scm (findutils)[arguments]: When building natively on
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 30eabe32af..c2dd156280 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 (target-hurd?)
- ''("XFAIL_TESTS=test-strerror_r")
- ''())))
+ (string-append "#!" (which "sh"))))))
+ ,@(if (system-hurd?)
+ '((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
- 26/89: hurd-boot: Cater for netdde., (continued)
- 26/89: hurd-boot: Cater for netdde., guix-commits, 2023/06/20
- 27/89: system: hurd: Add netdde to %base-packages/hurd., guix-commits, 2023/06/20
- 29/89: gnu: gnumach: Disable builtin networking., guix-commits, 2023/06/20
- 30/89: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/06/20
- 53/89: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/06/20
- 64/89: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/06/20
- 63/89: gnu: cairo: Support building for the Hurd., guix-commits, 2023/06/20
- 39/89: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/06/20
- 45/89: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/06/20
- 71/89: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/06/20
- 41/89: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd.,
guix-commits <=
- 69/89: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/06/20
- 35/89: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/20
- 52/89: gnu: c-ares: Skip failing tests on the Hurd., guix-commits, 2023/06/20
- 38/89: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/06/20
- 58/89: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/06/20
- 67/89: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/06/20
- 57/89: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/06/20
- 43/89: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/06/20
- 48/89: gnu: python: Support native build on the Hurd., guix-commits, 2023/06/20
- 44/89: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/06/20