[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/66: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hu
From: |
guix-commits |
Subject: |
13/66: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd. |
Date: |
Fri, 14 Jul 2023 17:56:39 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 60dc525dbd319306cf1e6c4c24c34b8dd07f93ff
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
- branch hurd-team created (now 2bb5a6de1d), guix-commits, 2023/07/14
- 03/66: gnu: commencement: Add automake-boot0., guix-commits, 2023/07/14
- 02/66: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/07/14
- 06/66: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/07/14
- 07/66: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/07/14
- 10/66: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/14
- 13/66: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd.,
guix-commits <=
- 15/66: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/07/14
- 01/66: gnu: mig: Update to 1.8+git20230520., guix-commits, 2023/07/14
- 05/66: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/07/14
- 08/66: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/07/14
- 11/66: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/07/14
- 12/66: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/07/14
- 14/66: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd., guix-commits, 2023/07/14
- 16/66: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/07/14
- 17/66: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/07/14
- 18/66: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/14