1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

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.
This commit is contained in:
Manolis Ragkousis 2017-05-16 12:35:00 +03:00 committed by Andy Wingo
parent 0c102b56e9
commit 7ac3d17cea
2 changed files with 12 additions and 0 deletions

View file

@ -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

View file

@ -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