[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/58: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.
From: |
guix-commits |
Subject: |
09/58: gnu: m4: Skip gnulib stack-overflow tests for the Hurd. |
Date: |
Wed, 19 Jul 2023 03:00:45 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 598b607c37806394c2005e25738dec7962a639fc
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)
- 26/58: gnu: ruby-2.6: Skip test on the Hurd., (continued)
- 26/58: gnu: ruby-2.6: Skip test on the Hurd., guix-commits, 2023/07/19
- 29/58: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/07/19
- 33/58: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/19
- 49/58: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/19
- 45/58: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/19
- 53/58: gnu: guix: Update to 1.4.0-9.2a8bf3da1e., guix-commits, 2023/07/19
- 38/58: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/19
- 51/58: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/19
- 57/58: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/07/19
- 54/58: DRAFT hurd: Support second boot., guix-commits, 2023/07/19
- 09/58: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.,
guix-commits <=
- 13/58: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/07/19
- 14/58: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 16/58: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 18/58: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/19
- 30/58: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/07/19
- 40/58: gnu: guile-2.0: Skip failing tests on the Hurd., guix-commits, 2023/07/19
- 52/58: gnu: guix: Update to 1.4.0-8.c0b1d7aac7., guix-commits, 2023/07/19