[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/89: gnu: coreutils: Skip hanging and failing test on the Hurd.
From: |
guix-commits |
Subject: |
38/89: gnu: coreutils: Skip hanging and failing test on the Hurd. |
Date: |
Tue, 20 Jun 2023 05:58:56 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 99fefb6e81454419d736d35f0ac7a94d769ffc34
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed May 31 17:51:30 2023 +0200
gnu: coreutils: Skip hanging and failing test on the Hurd.
* gnu/packages/base.scm (coreutils)[arguments]: When building natively on
the
Hurd, remove "test/df/unreadable.sh" and "test-perror2" from #:make-flags's
XFAIL_TESTS as they now pass. Move failing script tests from XFAIL_TESTS to
'remove-tests' phase. In phase 'remove-tests' rewrite substitute* to skip
tests instead of removing them. Add hanging and failing tests.
---
gnu/packages/base.scm | 47 +++++++++++++++++++++++++++++++----------------
1 file changed, 31 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 86e7f0bcdc..550be1a931 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -398,23 +398,13 @@ used to apply commands with arbitrarily long arguments.")
(outputs '("out" "debug"))
(arguments
`(#:parallel-build? #f ; help2man may be called too early
- ,@(if (target-hurd?)
+ ,@(if (system-hurd?)
'(#:make-flags ; these tests fail deterministically
- (list (string-append "XFAIL_TESTS=tests/misc/env-S.pl"
- " tests/misc/kill.sh"
- " tests/misc/nice.sh"
- " tests/misc/pwd-long.sh"
- " tests/split/fail.sh"
-
- ;; /hurd/fifo issue:
- ;; <https://issues.guix.gnu.org/58803>.
- " tests/df/unreadable.sh"
-
+ (list (string-append "XFAIL_TESTS="
;; Gnulib tests.
" test-fdutimensat"
" test-futimens"
" test-linkat"
- " test-perror2"
" test-renameat"
" test-renameatu"
" test-utimensat")))
@@ -436,10 +426,35 @@ used to apply commands with arbitrarily long arguments.")
(("#!/bin/sh") (string-append "#!" (which "sh"))))))
(add-after 'unpack 'remove-tests
(lambda _
- ,@(if (target-hurd?)
- '((substitute* "Makefile.in"
- ;; this test hangs
- (("^ *tests/misc/timeout-group.sh.*") ""))
+ ,@(if (system-hurd?)
+ '((substitute*
+ ;; These tests hang
+ '("tests/cp/sparse-to-pipe.sh"
+ "tests/split/fail.sh"
+ ;; These tests error
+ "tests/dd/nocache.sh"
+ ;; These tests fail
+ "tests/cp/sparse.sh"
+ "tests/cp/special-f.sh"
+ "tests/dd/bytes.sh"
+ "tests/dd/stats.sh"
+ "tests/ls/dangle.sh"
+ "tests/ls/follow-slink.sh"
+ "tests/ls/hyperlink.sh"
+ "tests/ls/infloop.sh"
+ "tests/ls/inode.sh"
+ "tests/ls/selinux-segfault.sh"
+ "tests/misc/env-S.pl"
+ "tests/misc/factor-parallel.sh"
+ "tests/misc/ls-misc.pl"
+ "tests/misc/nice.sh"
+ "tests/misc/pwd-long.sh"
+ "tests/misc/shred-passes.sh"
+ "tests/misc/stat-slash.sh"
+ "tests/rm/fail-eperm.xpl"
+ "tests/split/filter.sh")
+ (("^#!.*" all)
+ (string-append all "exit 77;\n")))
(substitute* "gnulib-tests/Makefile.in"
;; This test sometimes fails and sometimes
;; passes, but it does this consistently, so
- 53/89: gnu: libgpg-error: Skip failing test on the Hurd., (continued)
- 53/89: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/06/20
- 64/89: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/06/20
- 63/89: gnu: cairo: Support building for the Hurd., guix-commits, 2023/06/20
- 39/89: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/06/20
- 45/89: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/06/20
- 71/89: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/06/20
- 41/89: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd., guix-commits, 2023/06/20
- 69/89: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/06/20
- 35/89: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/20
- 52/89: gnu: c-ares: Skip failing tests on the Hurd., guix-commits, 2023/06/20
- 38/89: gnu: coreutils: Skip hanging and failing test on the Hurd.,
guix-commits <=
- 58/89: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/06/20
- 67/89: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/06/20
- 57/89: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/06/20
- 43/89: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/06/20
- 48/89: gnu: python: Support native build on the Hurd., guix-commits, 2023/06/20
- 44/89: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/06/20
- 62/89: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/06/20
- 56/89: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/06/20
- 47/89: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/06/20
- 50/89: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/06/20