[commit: ghc] master: Only run subsections_via_symbols test when LLVM is available. (4d1c452)

git at git.haskell.org git at git.haskell.org
Wed Dec 10 08:08:28 UTC 2014


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

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

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

commit 4d1c452daf54e0ed04ee66d6d3ea9078924afd51
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Wed Dec 10 00:08:31 2014 -0800

    Only run subsections_via_symbols test when LLVM is available.
    
    Summary: Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
    
    Test Plan: validate
    
    Reviewers: austin
    
    Subscribers: carter, thomie
    
    Differential Revision: https://phabricator.haskell.org/D567


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

4d1c452daf54e0ed04ee66d6d3ea9078924afd51
 testsuite/tests/llvm/should_run/subsections_via_symbols/all.T | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/testsuite/tests/llvm/should_run/subsections_via_symbols/all.T b/testsuite/tests/llvm/should_run/subsections_via_symbols/all.T
index 2ecbaa5..9d5fc75 100644
--- a/testsuite/tests/llvm/should_run/subsections_via_symbols/all.T
+++ b/testsuite/tests/llvm/should_run/subsections_via_symbols/all.T
@@ -3,6 +3,10 @@ if config.os == 'darwin':
 else:
   only_darwin = skip
 
+def f( name, opts ):
+  opts.only_ways = ['optllvm', 'llvm', 'debugllvm']
+
+setTestOpts(f)
 
 # Note [_ffi_call_unix64]
 #



More information about the ghc-commits mailing list