[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/84: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.
From: |
guix-commits |
Subject: |
44/84: gnu: m4: Skip gnulib stack-overflow tests for the Hurd. |
Date: |
Wed, 14 Jun 2023 06:23:58 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 82a2847586fc8908ace2e08576437e9b475785fa
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)
- 54/84: gnu: libgcrypt: Skip hanging benchmark tests for the Hurd., (continued)
- 54/84: gnu: libgcrypt: Skip hanging benchmark tests for the Hurd., guix-commits, 2023/06/14
- 60/84: gnu: e2fsprogs: Skip failing tests for the Hurd., guix-commits, 2023/06/14
- 83/84: DRAFT hurd-boot: Support second boot., guix-commits, 2023/06/14
- 84/84: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/06/14
- 65/84: gnu: ruby-2.6: Skip test for the Hurd., guix-commits, 2023/06/14
- 81/84: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/06/14
- 17/84: gnu: hurd-minimal: Include libshouldbeinlibc and libstore., guix-commits, 2023/06/14
- 02/84: gnu: glibc/hurd-headers: Properly cross-build., guix-commits, 2023/06/14
- 33/84: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/06/14
- 35/84: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/14
- 44/84: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.,
guix-commits <=
- 49/84: gnu: mpfr: Skip failing test for the Hurd., guix-commits, 2023/06/14
- 55/84: gnu: tcl: Remove failing tests for the Hurd.., guix-commits, 2023/06/14
- 80/84: gnu: guile-2.0: Skip failing tests for the Hurd., guix-commits, 2023/06/14
- 61/84: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/06/14
- 63/84: gnu: cairo: Support building for the Hurd., guix-commits, 2023/06/14
- 73/84: gnu: guile-git: Skip http proxy test for the Hurd., guix-commits, 2023/06/14