[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
39/85: gnu: grep: Update hanging and failing tests for the Hurd.
From: |
guix-commits |
Subject: |
39/85: gnu: grep: Update hanging and failing tests for the Hurd. |
Date: |
Thu, 15 Jun 2023 02:32:40 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 5a89092967814ee269250118f7e965e99545b833
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 5d0c3833f7..99bd647eea 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
- 36/85: Revert "gnu: libunistring: Fix make check for the Hurd.", (continued)
- 36/85: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/06/15
- 32/85: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/06/15
- 48/85: gnu: python: Support native build on the Hurd., guix-commits, 2023/06/15
- 81/85: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/06/15
- 45/85: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/06/15
- 03/85: gnu: gnumach-headers: Cross-build without relying on x86., guix-commits, 2023/06/15
- 04/85: gnu: hurd: Update supported systems., guix-commits, 2023/06/15
- 05/85: gnu: Add libc-for-target and glibc/hurd., guix-commits, 2023/06/15
- 20/85: hurd-boot: Setup pci-arbiter and rumpdisk translators., guix-commits, 2023/06/15
- 75/85: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/06/15
- 39/85: gnu: grep: Update hanging and failing tests for the Hurd.,
guix-commits <=
- 50/85: gnu: elfutils: Skip failing tests for the Hurd., guix-commits, 2023/06/15
- 51/85: gnu: libbsd: Skip failing test for the Hurd., guix-commits, 2023/06/15
- 82/85: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/06/15
- 78/85: gnu: fontforge: Support build for the Hurd., guix-commits, 2023/06/15
- 84/85: DRAFT hurd-boot: Support second boot., guix-commits, 2023/06/15
- 49/85: gnu: mpfr: Skip failing test for the Hurd., guix-commits, 2023/06/15