[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/246: gnu: automake-1.16.5: Skip tests.
From: |
guix-commits |
Subject: |
17/246: gnu: automake-1.16.5: Skip tests. |
Date: |
Sun, 12 Jan 2025 10:21:19 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit ce28b37057354103c84e29221ede372d1c213232
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 9a8023f7d3..301c1e9b8f 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.
- 115/246: gnu: efivar: Update to 39; fixes build with gcc-14., (continued)
- 115/246: gnu: efivar: Update to 39; fixes build with gcc-14., guix-commits, 2025/01/12
- 108/246: gnu: tracker: Fix build with gcc-14., guix-commits, 2025/01/12
- 113/246: gnu: cryptsetup-static: Update to latest json-c (0.18)., guix-commits, 2025/01/12
- 01/246: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2025/01/12
- 10/246: gnu: zip: Fix build with gcc-14., guix-commits, 2025/01/12
- 09/246: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2025/01/12
- 05/246: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2025/01/12
- 02/246: Revert "Partial revert "gnu: bootstrap: %bootstrap-glibc: Also fix libm.so."", guix-commits, 2025/01/12
- 03/246: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2025/01/12
- 06/246: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2025/01/12
- 17/246: gnu: automake-1.16.5: Skip tests.,
guix-commits <=
- 15/246: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2025/01/12
- 18/246: gnu: bdb: Use automake-1.16.5., guix-commits, 2025/01/12
- 19/246: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2025/01/12
- 20/246: gnu: libstdc++: Fix build for linux with gcc-14., guix-commits, 2025/01/12
- 24/246: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2025/01/12
- 29/246: gnu: llvm-13: Fix build with gcc-14., guix-commits, 2025/01/12
- 30/246: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2025/01/12
- 32/246: gnu: serf: Update to 1.3.10 and fix build with gcc-14., guix-commits, 2025/01/12
- 31/246: gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14., guix-commits, 2025/01/12
- 33/246: gnu: localed: Fix build with gcc-14., guix-commits, 2025/01/12