guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: ghc-happy: Skip memory-hungry tests.


From: guix-commits
Subject: 01/05: gnu: ghc-happy: Skip memory-hungry tests.
Date: Sat, 1 Jun 2019 19:38:43 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 3eb261e2e54fe379071f47812bc52cc4b5b5e6c6
Author: Robert Vollmert <address@hidden>
Date:   Tue May 28 21:10:24 2019 +0200

    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".
    
    Signed-off-by: Ludovic Court├Ęs <address@hidden>
---
 gnu/packages/haskell.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 33c9c64..822b049 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1325,6 +1325,16 @@ 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 _
+             ;; Tests run out of memory on a system with 2GB of available RAM,
+             ;; in 'issue93.a.hs' and 'issue93.n.hs'.
+             (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]