[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/84: gnu: findutils: Move test-strerror_r from XFAIL to skip for the H
From: |
guix-commits |
Subject: |
41/84: gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd. |
Date: |
Wed, 14 Jun 2023 06:23:58 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 12066d5d75f47dddb1e6ca4fd324e9fca2f304c0
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 1ad8640c6c..1077a4fe8b 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
- 14/84: gnu: Add libpciaccess-0.17., (continued)
- 14/84: gnu: Add libpciaccess-0.17., guix-commits, 2023/06/14
- 39/84: gnu: grep: Update hanging and failing tests for the Hurd., guix-commits, 2023/06/14
- 47/84: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/06/14
- 46/84: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/06/14
- 48/84: gnu: python: Support native build on the Hurd., guix-commits, 2023/06/14
- 50/84: gnu: elfutils: Skip failing tests for the Hurd., guix-commits, 2023/06/14
- 22/84: system: hurd: Boot with pci.arbiter and rumpdisk., guix-commits, 2023/06/14
- 37/84: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/06/14
- 59/84: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/06/14
- 70/84: gnu: cmake-minimal: Skip tests for the Hurd., guix-commits, 2023/06/14
- 41/84: gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd.,
guix-commits <=
- 43/84: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/06/14
- 36/84: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/06/14
- 56/84: gnu: curl: Skip failing test for the Hurd., guix-commits, 2023/06/14
- 71/84: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/06/14
- 76/84: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/06/14
- 72/84: gnu: graphite2: Skip test for the Hurd., guix-commits, 2023/06/14
- 82/84: DRAFT hurd: Support second boot., guix-commits, 2023/06/14
- 62/84: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/06/14
- 21/84: services: childhurd: Bump default qemu memory to 2048MB., guix-commits, 2023/06/14
- 03/84: gnu: gnumach-headers: Cross-build without relying on x86., guix-commits, 2023/06/14