[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
39/84: gnu: grep: Update hanging and failing tests for the Hurd.
From: |
guix-commits |
Subject: |
39/84: gnu: grep: Update hanging and failing tests 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 77f5ec959a5a0dcb99f7b1c2ff4e768bf0007b41
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Jun 2 15:42:36 2023 +0200
gnu: grep: Update hanging and failing tests for the Hurd.
* gnu/packages/base.scm (grep)[arguments]: When building for the Hurd,
remove
Rename phase 'skip-triple-backref-test' to 'skip-tests'. Remove
"tests/triple-backref" as it now passes. Add the hanging
"tests/hash-collision-perf" test and the failing "tests/file" test.
---
gnu/packages/base.scm | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 422bd94163..fa559a3650 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -136,20 +136,16 @@ command-line arguments, multiple languages, and so on.")
(("^exec grep")
(string-append "exec " bin "/grep"))))))
,@(if (hurd-target?)
- '((add-before 'check 'skip-triple-backref-test
+ '((add-before 'check 'skip-test
(lambda _
- ;; This test is marked as malfunctioning on glibc systems
- ;; due to
- ;; <https://sourceware.org/bugzilla/show_bug.cgi?id=11053>
- ;; and it triggers a segfault with glibc 2.33 on GNU/Hurd.
- ;; Skip it.
- (substitute* "tests/triple-backref"
- (("^warn_" all)
- (string-append "exit 77\n" all))))))
- '()))
- #:make-flags ,(if (hurd-target?)
- ''("XFAIL_TESTS=test-perror2 equiv-classes") ;XXX
- ''())))
+ (substitute*
+ ;; This test hangs
+ '("tests/hash-collision-perf"
+ ;; This test fails
+ "tests/file")
+ (("^#!.*" all)
+ (string-append all "exit 77;\n"))))))
+ '()))))
(synopsis "Print lines matching a pattern")
(description
"grep is a tool for finding text inside files. Text is found by
- 25/84: gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1., (continued)
- 25/84: gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1., guix-commits, 2023/06/14
- 27/84: system: hurd: Add netdde to %base-packages/hurd., guix-commits, 2023/06/14
- 42/84: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS for the Hurd., guix-commits, 2023/06/14
- 58/84: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/06/14
- 51/84: gnu: libbsd: Skip failing test for the Hurd., guix-commits, 2023/06/14
- 45/84: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/06/14
- 77/84: gnu: pango: Support build for the Hurd., guix-commits, 2023/06/14
- 68/84: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/06/14
- 66/84: gnu: tcsh: Skip substitution tests for the Hurd., guix-commits, 2023/06/14
- 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 <=
- 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, 2023/06/14
- 43/84: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/06/14