[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/67: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.
From: |
guix-commits |
Subject: |
17/67: gnu: m4: Skip gnulib stack-overflow tests for the Hurd. |
Date: |
Tue, 18 Jul 2023 10:57:01 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 9db574983a7ebe9cf45773c7e68853c835fb83b8
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)
- 10/67: gnu: guile: Skip hanging and failing pipe tests on the Hurd., (continued)
- 10/67: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/07/18
- 12/67: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/07/18
- 19/67: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/18
- 25/67: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/18
- 24/67: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 33/67: gnu: libpaper: Disable tests for the Hurd., guix-commits, 2023/07/18
- 31/67: gnu: e2fsprogs: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 37/67: gnu: tcsh: Skip substitution tests on the Hurd., guix-commits, 2023/07/18
- 61/67: gnu: guix: Update to 1.4.0-8.0a3070bbe9., guix-commits, 2023/07/18
- 45/67: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/18
- 17/67: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.,
guix-commits <=
- 01/67: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/07/18
- 27/67: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 30/67: gnu: procps: Skip linux-version test for the Hurd., guix-commits, 2023/07/18
- 22/67: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 42/67: gnu: doxygen: Fix build for the Hurd., guix-commits, 2023/07/18
- 43/67: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/18
- 62/67: gnu: guix: Update to 1.4.0-9.b45f40d4fc., guix-commits, 2023/07/18
- 53/67: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/18
- 35/67: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/07/18
- 49/67: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/18