[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/89: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.
From: |
guix-commits |
Subject: |
44/89: gnu: m4: Skip gnulib stack-overflow tests for the Hurd. |
Date: |
Tue, 20 Jun 2023 05:58:56 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 3c80df5f1873e436d55ee234191754c70265d689
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon May 8 14:09:55 2023 +0200
gnu: m4: Skip gnulib stack-overflow tests for the Hurd.
* gnu/packages/m4.scm (m4)[arguments]: When building for the Hurd, add stage
'skip-stack-overflow-tests'.
---
gnu/packages/m4.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/m4.scm b/gnu/packages/m4.scm
index fbc075a2cb..39b50b6800 100644
--- a/gnu/packages/m4.scm
+++ b/gnu/packages/m4.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,7 +24,8 @@
#:use-module (gnu packages)
#:use-module (guix packages)
#:use-module (guix download)
- #:use-module (guix build-system gnu))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix utils))
(define-public m4
(package
@@ -54,6 +56,14 @@
(substitute* "tests/test-execute.sh"
(("4 5 6")
"4 6"))))
+ ,@(if (target-hurd?)
+ '((add-after 'unpack 'skip-stack-overflow-tests
+ (lambda _
+ (substitute* '("tests/test-sigsegv-catch-stackoverflow1.c"
+ "tests/test-sigsegv-catch-stackoverflow2.c")
+ (("(^| )main *\\(.*" all)
+ (string-append all "{\n exit (77);//"))))))
+ '())
(add-after 'unpack 'configure-shell
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(let ((/bin/sh (search-input-file (or native-inputs inputs)
- 41/89: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd., (continued)
- 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, 2023/06/20
- 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 <=
- 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
- 40/89: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/06/20
- 65/89: gnu: ruby-2.6: Skip test on the Hurd., guix-commits, 2023/06/20
- 61/89: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/06/20
- 68/89: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/06/20
- 60/89: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/06/20
- 59/89: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/06/20