[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/43: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.
From: |
guix-commits |
Subject: |
09/43: gnu: m4: Skip gnulib stack-overflow tests for the Hurd. |
Date: |
Thu, 20 Jul 2023 04:22:26 -0400 (EDT) |
janneke pushed a commit to branch master
in repository guix.
commit da9e4fd4347a31eaa5d92489e68b547466feb8bf
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 master updated (cf1216d876 -> 6547d3852b), guix-commits, 2023/07/20
- 01/43: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/07/20
- 03/43: gnu: coreutils: Skip hanging and failing test on the Hurd., guix-commits, 2023/07/20
- 04/43: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/07/20
- 05/43: Revert "gnu: sed: Skip failing test on GNU/Hurd.", guix-commits, 2023/07/20
- 08/43: gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd., guix-commits, 2023/07/20
- 10/43: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/20
- 09/43: gnu: m4: Skip gnulib stack-overflow tests for the Hurd.,
guix-commits <=
- 11/43: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/20
- 17/43: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/20
- 20/43: gnu: git: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 02/43: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/07/20
- 06/43: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd., guix-commits, 2023/07/20
- 07/43: gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd., guix-commits, 2023/07/20
- 12/43: gnu: mpfr: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 13/43: gnu: elfutils: Skip failing tests on the Hurd., guix-commits, 2023/07/20
- 14/43: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 18/43: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/20