[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/65: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.
From: |
guix-commits |
Subject: |
15/65: gnu: m4: Skip gnulib stack-overflow tests for the Hurd. |
Date: |
Fri, 14 Jul 2023 10:05:59 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit fd1ad2b3f0f9bf6fae6f1adf7624151d1d9d08db
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)
- branch hurd-team created (now 32f10e8601), guix-commits, 2023/07/14
- 03/65: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/07/14
- 04/65: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/07/14
- 01/65: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/07/14
- 05/65: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/07/14
- 07/65: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/07/14
- 10/65: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/07/14
- 11/65: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/07/14
- 15/65: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.,
guix-commits <=
- 16/65: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/07/14
- 19/65: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/14
- 26/65: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/14
- 18/65: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/14
- 22/65: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/14
- 49/65: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/14
- 09/65: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/14
- 12/65: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd., guix-commits, 2023/07/14
- 17/65: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/14
- 02/65: gnu: commencement: Add automake-boot0., guix-commits, 2023/07/14