[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/47: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS for the Hurd
From: |
guix-commits |
Subject: |
41/47: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS for the Hurd. |
Date: |
Sat, 3 Jun 2023 07:23:45 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 6a204375c4fbdcad0d723b347cec68b7cc7d1912
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Jun 3 08:47:34 2023 +0200
gnu: diffutils: Remove test-perror2 from XFAIL_TESTS for the Hurd.
* gnu/packages/base.scm (diffutils)[arguments]: When building for the Hurd,
Move "large-subopt" test from #:make-flags' XFAIL_TESTS to a new
'skip-tests'
phase. Remove #:make-flags for the Hurd, as "test-perror2" now passes.
---
gnu/packages/base.scm | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 2c7d6e500b..e451fb281c 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -302,9 +302,15 @@ differences.")
(patches (search-patches
"diffutils-fix-signal-processing.patch"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags ,(if (hurd-target?)
- ''("XFAIL_TESTS=test-perror2 large-subopt")
- ''())))
+ (list
+ #:phases (if (hurd-target?)
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'skip-tests
+ (lambda _
+ (substitute* "tests/large-subopt"
+ (("^#!.*" all)
+ (string-append all "exit 77;\n"))))))
+ #~%standard-phases)))
(native-inputs (list perl))
(synopsis "Comparing and merging files")
(description
- 14/47: gnu: hurd-minimal: Include libshouldbeinlibc and libstore., (continued)
- 14/47: gnu: hurd-minimal: Include libshouldbeinlibc and libstore., guix-commits, 2023/06/03
- 19/47: system: hurd: Boot with pci.arbiter and rumpdisk., guix-commits, 2023/06/03
- 31/47: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/03
- 35/47: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/06/03
- 37/47: gnu: coreutils: Skip hanging and failing test for the Hurd., guix-commits, 2023/06/03
- 39/47: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/06/03
- 40/47: gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd., guix-commits, 2023/06/03
- 09/47: Revert "hurd-boot: Add urandom and default-pager translators.", guix-commits, 2023/06/03
- 12/47: gnu: hurd: Update libpciaccess to 0.17., guix-commits, 2023/06/03
- 22/47: gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1., guix-commits, 2023/06/03
- 41/47: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS for the Hurd.,
guix-commits <=
- 08/47: gnu: hurd: Update to v0.9.git20230216., guix-commits, 2023/06/03
- 32/47: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/03
- 44/47: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/06/03
- 47/47: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/06/03
- 43/47: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/06/03
- 45/47: DRAFT hurd: Support second boot., guix-commits, 2023/06/03
- 46/47: DRAFT hurd-boot: Support second boot., guix-commits, 2023/06/03
- 20/47: bootloader: grub: Use rumpdisk-style root when booting with "noide"., guix-commits, 2023/06/03
- 29/47: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/06/03
- 36/47: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/06/03