[commit: ghc] ghc-8.2: testsuite: disable 'optllvm' for unregisterised compiler (b4c8ed7)

git at git.haskell.org git at git.haskell.org
Fri Apr 21 16:31:25 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/b4c8ed7578558da906d08e8e320cccd524ff8ff3/ghc

>---------------------------------------------------------------

commit b4c8ed7578558da906d08e8e320cccd524ff8ff3
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date:   Thu Apr 20 20:13:25 2017 +0100

    testsuite: disable 'optllvm' for unregisterised compiler
    
    commit 74615f412ad3de2910a156ff494bfe5497fada7e
    ("UNREG: ignore -fllvm (Trac #13495)") enabled
    'optllvm' tests to be ran in 'make fulltest' mode.
    
    As a result many (~1000) tests fail due to stderr misamatch:
      +when making flags consistent: warning:
      +    Compiler unregisterised, so compiling via C
    
    The change removes 'optllvm' tests for unregisterised compiler.
    
    Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
    (cherry picked from commit a18f58d2290c5d5d44c7850ea04de279110d228b)


>---------------------------------------------------------------

b4c8ed7578558da906d08e8e320cccd524ff8ff3
 testsuite/config/ghc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 959422e..6a368e8 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -62,7 +62,7 @@ else:
 if (config.have_profiling and ghc_with_threaded_rts == 1):
     config.run_ways.append('profthreaded')
 
-if (ghc_with_llvm == 1):
+if (ghc_with_llvm == 1 and not config.unregisterised):
     config.compile_ways.append('optllvm')
     config.run_ways.append('optllvm')
 



More information about the ghc-commits mailing list