summaryrefslogtreecommitdiff
path: root/test-suite/standalone/test-out-of-memory
diff options
context:
space:
mode:
authorManolis Ragkousis <manolis837@gmail.com>2017-05-16 12:35:00 +0300
committerAndy Wingo <wingo@pobox.com>2017-05-16 21:44:04 +0200
commit7ac3d17ceaffc5f068e500c30b1728eae12ae0f0 (patch)
treeb0a015fbe1cb9cf7e2a06dddfa52e1fddd1c6329 /test-suite/standalone/test-out-of-memory
parent0c102b56e98da39b5a3213bdc567a31ad8ef3e73 (diff)
downloadguile-7ac3d17ceaffc5f068e500c30b1728eae12ae0f0.tar.gz
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.
Diffstat (limited to 'test-suite/standalone/test-out-of-memory')
-rwxr-xr-xtest-suite/standalone/test-out-of-memory6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/standalone/test-out-of-memory b/test-suite/standalone/test-out-of-memory
index 95692d6ea..221651270 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