[commit: ghc] master: testsuite: disable 'optllvm' for unregisterised compiler (a18f58d)

git at git.haskell.org git at git.haskell.org
Thu Apr 20 19:20:51 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a18f58d2290c5d5d44c7850ea04de279110d228b/ghc

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

commit a18f58d2290c5d5d44c7850ea04de279110d228b
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>


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

a18f58d2290c5d5d44c7850ea04de279110d228b
 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