[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/43: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hu
From: |
guix-commits |
Subject: |
06/43: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd. |
Date: |
Thu, 20 Jul 2023 04:22:26 -0400 (EDT) |
janneke pushed a commit to branch master
in repository guix.
commit bc8c6e23683d82b5d3bba49d488356478683ffc3
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
- 03/43: gnu: coreutils: Skip hanging and failing test on the Hurd., (continued)
- 03/43: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/20
- 04/43: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/07/20
- 05/43: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/07/20
- 08/43: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/07/20
- 10/43: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/20
- 09/43: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/20
- 11/43: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/20
- 17/43: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/20
- 20/43: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 02/43: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/07/20
- 06/43: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd.,
guix-commits <=
- 07/43: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd., guix-commits, 2023/07/20
- 12/43: gnu: mpfr: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 13/43: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/07/20
- 14/43: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 18/43: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/20
- 21/43: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/07/20
- 22/43: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/07/20
- 23/43: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/20
- 24/43: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/20
- 25/43: gnu: cairo: Support building for the Hurd., guix-commits, 2023/07/20