[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/85: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.
From: |
guix-commits |
Subject: |
44/85: gnu: m4: Skip gnulib stack-overflow tests for the Hurd. |
Date: |
Thu, 15 Jun 2023 02:32:41 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 55020872c6e054afff627dbf0ef29bb68c2b6f03
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)
- 25/85: gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1., (continued)
- 25/85: gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1., guix-commits, 2023/06/15
- 02/85: gnu: glibc/hurd-headers: Properly cross-build., guix-commits, 2023/06/15
- 10/85: gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3., guix-commits, 2023/06/15
- 19/85: gnu: hurd: Add rumpkernel., guix-commits, 2023/06/15
- 22/85: system: hurd: Boot with pci.arbiter and rumpdisk., guix-commits, 2023/06/15
- 23/85: bootloader: grub: Use rumpdisk-style root when booting with "noide"., guix-commits, 2023/06/15
- 30/85: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/06/15
- 26/85: hurd-boot: Cater for netdde., guix-commits, 2023/06/15
- 33/85: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/06/15
- 38/85: gnu: coreutils: Skip hanging and failing test for the Hurd., guix-commits, 2023/06/15
- 44/85: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.,
guix-commits <=
- 37/85: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/06/15
- 58/85: gnu: emacs: Depend on libc-for-target., guix-commits, 2023/06/15
- 41/85: gnu: findutils: Move test-strerror_r from XFAIL to skip for the Hurd., guix-commits, 2023/06/15
- 40/85: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/06/15
- 34/85: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/15
- 74/85: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/06/15
- 55/85: gnu: tcl: Remove failing tests for the Hurd.., guix-commits, 2023/06/15
- 79/85: gnu: po4a: Skip failing test for the Hurd., guix-commits, 2023/06/15
- 35/85: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/15
- 47/85: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/06/15