From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: manolis837@gmail.com Newsgroups: gmane.lisp.guile.devel Subject: [PATCH] On Hurd, skip tests that require working setrlimits for memory Date: Tue, 16 May 2017 12:35:00 +0300 Message-ID: <20170516093500.4773-1-manolis837@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1494927346 12064 195.159.176.226 (16 May 2017 09:35:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 May 2017 09:35:46 +0000 (UTC) Cc: rennes@openmailbox.org To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue May 16 11:35:42 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAYtK-00030R-Ad for guile-devel@m.gmane.org; Tue, 16 May 2017 11:35:42 +0200 Original-Received: from localhost ([::1]:40856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAYtP-0000As-R7 for guile-devel@m.gmane.org; Tue, 16 May 2017 05:35:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAYtK-0000AT-Gi for guile-devel@gnu.org; Tue, 16 May 2017 05:35:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAYtF-000086-GJ for guile-devel@gnu.org; Tue, 16 May 2017 05:35:42 -0400 Original-Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:35418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAYtF-00007o-8O for guile-devel@gnu.org; Tue, 16 May 2017 05:35:37 -0400 Original-Received: by mail-wm0-x242.google.com with SMTP id v4so36602735wmb.2 for ; Tue, 16 May 2017 02:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=S5mRE9XfGtUoXF83vMondT83TkzUKUudyCe5F5BZVU0=; b=cNvVLl45kgsozu4ZdO1FNPh3K8d2r8rTrVPCVn0EHYCfLxe1hB5JmaDhnzRhiJDh/6 +t91hbKLjPqOE8hcJvYlVGgfCW1Yu9XzeT3Tt1hw3TkAF7HISUvPxN2VFo82BnoaHY58 3OCP/bDjPk/Qyznaf8s5/qyK9lDg4bTnVb7uf1GNbow6yknAmjPCpMB4MdP++f04jQDf 1Gegm9WnjPHf03pkew4MBk9VhFSBCo++DI79NZ9kuQYUGhe8vldFHtzt4WDh54Li27LO EKJjgomPxAv7ThAlMTL6nKCOuzQ0gShYme6LWdrVL6dGHScPNRH5RHQUoehA3XqM8MPt qBIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=S5mRE9XfGtUoXF83vMondT83TkzUKUudyCe5F5BZVU0=; b=YE/H4bUR7y98gZyPsUQisO8tBUk5DRrcuWDbj78OiEcQ150LagtSd1n/7oeWzgYEat APzcdyfQqy8e4qvgc9cSjZqU+pSJ8CumBbaA738R8h2tNVgp0BijXY6LMj5oh2+OOtbv yYfvlZPo5vhYJuBRaeaL7kDNume2YnenHGzjtdWYbUiv/fwNcc2Gm/eHg+GEMY8lW8vB /pd4Sbno9lNnmupWD30uK4y4dfSNbdd24pfTgleCTHrO2LM7OOZKocQ+a9t2mMSEOko2 nrpeTIxLasJznJIe7OrwoKePX1ZPFI2XJeYvNQMLakOE/sC4iP834UV3VCSvyWReFjw7 BNaw== X-Gm-Message-State: AODbwcAA6Ey8wNcGoedmochD10o4W65TJBtR6sMEkxBUDlf1KrnXJEGp PHqBdrq/YyFwdQ== X-Received: by 10.28.213.14 with SMTP id m14mr2686373wmg.136.1494927335902; Tue, 16 May 2017 02:35:35 -0700 (PDT) Original-Received: from localhost.localdomain (ppp-2-84-28-15.home.otenet.gr. [2.84.28.15]) by smtp.gmail.com with ESMTPSA id b93sm1619579wrd.29.2017.05.16.02.35.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 May 2017 02:35:35 -0700 (PDT) X-Mailer: git-send-email 2.13.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19152 Archived-At: From: Manolis Ragkousis On Hurd, setrlimits are not yet implemented. See . * 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 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 + ;; + (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 7229661c9..dd54249d8 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 + ;; + (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 -- 2.13.0