From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:50368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hX5Dz-0006tS-Cf for guix-patches@gnu.org; Sat, 01 Jun 2019 10:43:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hX5Bu-0006aN-UV for guix-patches@gnu.org; Sat, 01 Jun 2019 10:41:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hX5Bt-0006Zv-V4 for guix-patches@gnu.org; Sat, 01 Jun 2019 10:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hX5Bt-0001rE-Rq for guix-patches@gnu.org; Sat, 01 Jun 2019 10:41:01 -0400 Subject: [bug#35944] [PATCH] gnu: packages: haskell: happy: Disable tests Resent-Message-ID: Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) From: Robert Vollmert In-Reply-To: Date: Sat, 1 Jun 2019 16:40:31 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <4BD76A21-D533-4B60-9A24-6855225D354E@vllmrt.net> References: <20190528124101.63429-1-rob@vllmrt.net> <87ftoth3d8.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35944@debbugs.gnu.org > On 1. Jun 2019, at 14:56, Robert Vollmert wrote: >> On 1. Jun 2019, at 14:55, Ludovic Court=C3=A8s wrote: >> They fail because they run out of memory? >=20 > Indeed, the OOM killer strikes. >=20 >> What would it take to skip just these two tests instead of skipping = all >> the tests? >=20 > I=E2=80=99ll look into it. Below is a patch that does that. I=E2=80=99m now running into similar = issues when compiling ghc-scientific; should OOM test failures at 2G of memory = generally be considered worth fixing? As an alternative, would it be feasible to implement a --skip-tests flag for guix build? =46rom 7b7029d99df7df2ccdbfb4026edd91daa2a5763e Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 28 May 2019 21:10:24 +0200 Subject: [PATCH] gnu: ghc-happy: Skip memory-hungry tests. Tests fail reliably for me on a system with 2GB of available RAM, in `issue93.a.hs` and `issue93.n.hs`. * gnu/packages/haskell.scm (ghc-happy): Skip test "issue93". --- gnu/packages/haskell.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 33c9c6484d..be9ab00bfd 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1325,6 +1325,14 @@ postfix notation. For more information on stack = based languages, see (base32 "138xpxdb7x62lpmgmb6b3v3vgdqqvqn4273jaap3mjmc2gla709y")))) (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'skip-test-issue93 + (lambda _ + (substitute* "tests/Makefile" + ((" issue93.y ") " ")) + #t))))) (home-page "https://hackage.haskell.org/package/happy") (synopsis "Parser generator for Haskell") (description "Happy is a parser generator for Haskell. Given a = grammar --=20 2.20.1 (Apple Git-117)