[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/65: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hu
From: |
guix-commits |
Subject: |
12/65: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd. |
Date: |
Fri, 14 Jul 2023 10:05:59 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit e6d34de853406289dafe0b2c166e9c572ee89e82
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 00e59e6f46..14479c4951 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -340,10 +340,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
- 10/65: gnu: grep: Update hanging and failing tests on the Hurd., (continued)
- 10/65: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/07/14
- 11/65: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/07/14
- 15/65: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/14
- 16/65: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/07/14
- 19/65: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/14
- 26/65: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/14
- 18/65: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/14
- 22/65: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 49/65: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/14
- 09/65: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/14
- 12/65: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd.,
guix-commits <=
- 17/65: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/14
- 02/65: gnu: commencement: Add automake-boot0., guix-commits, 2023/07/14
- 08/65: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/07/14
- 28/65: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 06/65: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/07/14
- 14/65: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/07/14
- 20/65: gnu: mpfr: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 23/65: gnu: c-ares: Skip failing tests on the Hurd., guix-commits, 2023/07/14
- 24/65: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 27/65: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/14