[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/48: gnu: findutils: Move test-strerror_r from XFAIL to skip for the H
From: |
guix-commits |
Subject: |
40/48: gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd. |
Date: |
Sun, 4 Jun 2023 07:43:46 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 19628111ad76e6022f99d7e0a79c80eb1c6cd32d
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 e7bfa9e6ef..1604fb94a8 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -339,10 +339,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
- 09/48: Revert "hurd-boot: Add urandom and default-pager translators.", (continued)
- 09/48: Revert "hurd-boot: Add urandom and default-pager translators.", guix-commits, 2023/06/04
- 29/48: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/06/04
- 04/48: gnu: hurd: Update supported systems., guix-commits, 2023/06/04
- 22/48: gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1., guix-commits, 2023/06/04
- 13/48: gnu: Add rumpkernel., guix-commits, 2023/06/04
- 37/48: gnu: coreutils: Skip hanging and failing test for the Hurd., guix-commits, 2023/06/04
- 10/48: squash! gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3., guix-commits, 2023/06/04
- 06/48: gnu: gnumach: Update to 1.8+git20221224., guix-commits, 2023/06/04
- 27/48: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/06/04
- 48/48: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/06/04
- 40/48: gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd.,
guix-commits <=
- 30/48: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/06/04
- 31/48: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/04
- 36/48: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/06/04
- 24/48: system: hurd: Add netdde to %base-packages/hurd., guix-commits, 2023/06/04
- 17/48: hurd-boot: Setup pci-arbiter and rumpdisk translators., guix-commits, 2023/06/04
- 47/48: DRAFT hurd-boot: Support second boot., guix-commits, 2023/06/04
- 18/48: services: childhurd: Bump default qemu memory to 2048MB., guix-commits, 2023/06/04
- 14/48: gnu: hurd-minimal: Include libshouldbeinlibc and libstore., guix-commits, 2023/06/04
- 08/48: gnu: hurd: Update to v0.9.git20230216., guix-commits, 2023/06/04