[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/70: gnu: automake-1.16.5: Skip tests.
From: |
guix-commits |
Subject: |
17/70: gnu: automake-1.16.5: Skip tests. |
Date: |
Sat, 14 Dec 2024 06:00:00 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 86fe3c0a109f8e969f74673c5f324359c41a8bc9
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 5 19:52:50 2024 +0100
gnu: automake-1.16.5: Skip tests.
As 23 compiler "tap" tests fail that cannot be easily skipped, disable tests
altogether.
ERROR: t/depcomp-auto
=====================
ERROR: t/depcomp-auto.tap - missing test plan
ERROR: t/depcomp-auto.tap - exited with status 77
ERROR: t/depcomp-cpp
====================
ERROR: t/depcomp-cpp.tap - missing test plan
ERROR: t/depcomp-cpp.tap - exited with status 77
ERROR: t/depcomp-dashmstdout
============================
ERROR: t/depcomp-dashmstdout.tap - missing test plan
ERROR: t/depcomp-dashmstdout.tap - exited with status 77
ERROR: t/depcomp-gcc
====================
ERROR: t/depcomp-gcc.tap - missing test plan
ERROR: t/depcomp-gcc.tap - exited with status 77
* gnu/packages/autotools.scm (automake)[arguments]: Skip tests. Remove
"skip-test" phase, as the "tap" tests ERROR out when skipped.
(automake)[arguments]: Enable tests. Add, instead of replace, "skip-tests"
phase.
Change-Id: Iacc2ca3bc84f0a4b261663b9178922bcb1c18578
---
gnu/packages/autotools.scm | 22 ++++------------------
1 file changed, 4 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 2f9d66660e..7b3997d93a 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -342,6 +342,7 @@ output is indexed in many ways to simplify browsing.")
(files '("share/aclocal")))))
(arguments
(list
+ #:tests? #f ;with gcc-14, 23 compiler "tap" tests fail.
#:modules '((guix build gnu-build-system)
(guix build utils)
(srfi srfi-1)
@@ -360,23 +361,6 @@ output is indexed in many ways to simplify browsing.")
;; that occur during the test suite.
(setenv "SHELL" sh)
(setenv "CONFIG_SHELL" sh))))
- (add-before 'check 'skip-tests
- (lambda _
- (substitute*
- ;; This test requires 'etags' and fails if it's missing.
- ;; Skip it.
- '("t/tags-lisp-space.sh"
- ;; These tests fail with gcc-14
- "t/c-demo.sh"
- "t/depcomp-auto.tap"
- "t/depcomp-cpp.tap"
- "t/depcomp-dashmstdout.tap"
- "t/depcomp-gcc.tap"
- "t/dist-vs-built-sources.sh"
- "t/link_cond.sh"
- "t/subobj-clean-pr10697.sh")
- (("^#!.*" all)
- (string-append all "exit 77;\n")))))
#$@(if (%current-target-system)
#~((add-after 'install 'patch-non-shebang-references
@@ -453,9 +437,11 @@ Makefile, simplifying the entire process for the
developer.")
(search-patches "automake-skip-amhello-tests.patch"))))
(arguments
(substitute-keyword-arguments (package-arguments automake-1.16.5)
+ ((#:tests? tests?)
+ #t)
((#:phases phases)
#~(modify-phases #$phases
- (replace 'skip-tests
+ (add-before 'check 'skip-test
(lambda _
(substitute*
;; This test requires 'etags' and fails if it's missing.
- 64/70: gnu: bootstrap: %bootstrap-glibc: Patch more files., (continued)
- 64/70: gnu: bootstrap: %bootstrap-glibc: Patch more files., guix-commits, 2024/12/14
- 68/70: guix: build-system: cmake: Rework cross compilation., guix-commits, 2024/12/14
- 65/70: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2024/12/14
- 12/70: gnu: gettext: Update to 0.23., guix-commits, 2024/12/14
- 14/70: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/14
- 20/70: gnu: libstdc++: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/14
- 25/70: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14., guix-commits, 2024/12/14
- 36/70: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2024/12/14
- 56/70: gnu: flex: Use -Wno-error= for cross-build., guix-commits, 2024/12/14
- 66/70: gnu: gcc-4.7: Add gcc-wrapper from gcc-final., guix-commits, 2024/12/14
- 17/70: gnu: automake-1.16.5: Skip tests.,
guix-commits <=
- 19/70: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2024/12/14
- 23/70: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/14
- 59/70: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2024/12/14
- 48/70: gnu: Add cryptsetup-minimal., guix-commits, 2024/12/14
- 70/70: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/14
- 62/70: gnu: texinfo-4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/14
- 28/70: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/14
- 33/70: gnu: localed: Fix build with gcc-14., guix-commits, 2024/12/14
- 21/70: gnu: torsocks: Fix build with gcc-14., guix-commits, 2024/12/14
- 53/70: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/14