[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/65: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd.
From: |
guix-commits |
Subject: |
13/65: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd. |
Date: |
Fri, 14 Jul 2023 10:05:59 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 81ee4d8f051b107fb9b5c332eb58b35505238a50
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Jun 3 08:47:34 2023 +0200
gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd.
* gnu/packages/base.scm (diffutils)[arguments]: When building natively on
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 14479c4951..1fdfaf8a57 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -303,9 +303,15 @@ differences.")
(patches (search-patches
"diffutils-fix-signal-processing.patch"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags ,(if (target-hurd?)
- ''("XFAIL_TESTS=test-perror2 large-subopt")
- ''())))
+ (list
+ #:phases (if (system-hurd?)
+ #~(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
- 43/65: gnu: graphite2: Skip test on the Hurd., (continued)
- 43/65: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/14
- 54/65: gnu: hurd: Support native build on the Hurd., guix-commits, 2023/07/14
- 47/65: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/07/14
- 56/65: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/14
- 29/65: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/07/14
- 32/65: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/14
- 58/65: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/14
- 59/65: gnu: guix: Update to 1.4.0-8.7f38c79689., guix-commits, 2023/07/14
- 62/65: DRAFT hurd-boot: Support second boot., guix-commits, 2023/07/14
- 61/65: DRAFT hurd: Support second boot., guix-commits, 2023/07/14
- 13/65: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd.,
guix-commits <=
- 31/65: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/07/14
- 33/65: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/14
- 37/65: gnu: tcsh: Skip substitution tests on the Hurd., guix-commits, 2023/07/14
- 40/65: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/07/14
- 52/65: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/07/14
- 48/65: gnu: pango: Support build for the Hurd., guix-commits, 2023/07/14
- 65/65: locale: Set %default-locale-definitions to glibc/hurd on the Hurd., guix-commits, 2023/07/14
- 53/65: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/14
- 46/65: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/07/14
- 50/65: gnu: po4a: Skip failing test on the Hurd., guix-commits, 2023/07/14