guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: ghc-8.10: Disable failing test on i686.


From: guix-commits
Subject: branch master updated: gnu: ghc-8.10: Disable failing test on i686.
Date: Sat, 09 Oct 2021 11:33:12 -0400

This is an automated email from the git hooks/post-receive script.

lbraun pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 89de192  gnu: ghc-8.10: Disable failing test on i686.
89de192 is described below

commit 89de1924cb535fc2c97d3654e21badaebd43518e
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sat Oct 9 15:32:27 2021 +0200

    gnu: ghc-8.10: Disable failing test on i686.
    
    Not sure why it fails.
    
    * gnu/packages/haskell.scm (ghc-8.10) [#:phases]: Add new conditional
    phase to disable failing testcase on i686 without modifying derivation
    for other architectures to avoid rebuild.
---
 gnu/packages/haskell.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 86ed095..e8bbc9d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -710,7 +710,15 @@ interactive environment for the functional language 
Haskell.")
                (substitute* '("testsuite/tests/driver/T16521/all.T")
                  (("extra_files" all) (string-append "[" all))
                  (("\\]\\), " all)
-                  (string-append all "expect_broken(0)], ")))))))))
+                  (string-append all "expect_broken(0)], ")))))
+           ;; TODO: Turn this into an undconditional patch on the next rebuild.
+           ,@(if (string=? "i686-linux" (%current-system))
+              '((add-after 'skip-more-tests 'skip-failing-tests-i686
+                 (lambda _
+                   (substitute* 
'("testsuite/tests/codeGen/should_compile/all.T")
+                     (("(test\\('T15155l', )when\\(unregisterised\\(\\), 
skip\\)" all before)
+                      (string-append before "when(arch('i386'), skip)"))))))
+              '())))))
     (native-search-paths (list (search-path-specification
                                 (variable "GHC_PACKAGE_PATH")
                                 (files (list



reply via email to

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