[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/01: On Hurd, skip tests that require working setrlimi
From: |
Andy Wingo |
Subject: |
[Guile-commits] 01/01: On Hurd, skip tests that require working setrlimits for memory |
Date: |
Tue, 16 May 2017 15:45:22 -0400 (EDT) |
wingo pushed a commit to branch stable-2.2
in repository guile.
commit 7ac3d17ceaffc5f068e500c30b1728eae12ae0f0
Author: Manolis Ragkousis <address@hidden>
Date: Tue May 16 12:35:00 2017 +0300
On Hurd, skip tests that require working setrlimits for memory
On Hurd, setrlimits are not yet implemented. See
<https://lists.gnu.org/archive/html/bug-hurd/2017-05/msg00013.html>.
* test-suite/standalone/test-out-of-memory: skip for Hurd.
* test-suite/standalone/test-stack-overflow: skip for Hurd.
---
test-suite/standalone/test-out-of-memory | 6 ++++++
test-suite/standalone/test-stack-overflow | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/test-suite/standalone/test-out-of-memory
b/test-suite/standalone/test-out-of-memory
index 95692d6..2216512 100755
--- a/test-suite/standalone/test-out-of-memory
+++ b/test-suite/standalone/test-out-of-memory
@@ -15,6 +15,12 @@ exec guile -q -s "$0" "$@"
;; See also test-stack-overflow.
(exit 77)) ; unresolved
+(when (string-ci= "GNU" (vector-ref (uname) 0))
+ ;; setrlimits are not yet implemented on GNU/Hurd systems. Proceeding
+ ;; with the test would end in a crash. See
+ ;; <https://lists.gnu.org/archive/html/bug-hurd/2017-05/msg00013.html>
+ (exit 77)) ; unresolved
+
(when (string-contains-ci (vector-ref (uname) 0) "CYGWIN_NT")
;; attempting to use setrlimits for memory RLIMIT_AS will always
;; produce an invalid argument error on Cygwin (tested on
diff --git a/test-suite/standalone/test-stack-overflow
b/test-suite/standalone/test-stack-overflow
index 7229661..dd54249 100755
--- a/test-suite/standalone/test-stack-overflow
+++ b/test-suite/standalone/test-stack-overflow
@@ -15,6 +15,12 @@ exec guile -q -s "$0" "$@"
;; See also test-out-of-memory.
(exit 77)) ; uresolved
+(when (string-ci= "GNU" (vector-ref (uname) 0))
+ ;; setrlimits are not yet implemented on GNU/Hurd systems. Proceeding
+ ;; with the test would end in a crash. See
+ ;; <https://lists.gnu.org/archive/html/bug-hurd/2017-05/msg00013.html>
+ (exit 77)) ; unresolved
+
(when (string-contains-ci (vector-ref (uname) 0) "CYGWIN_NT")
;; attempting to use setrlimits for memory RLIMIT_AS will always
;; produce an invalid argument error on Cygwin (tested on