Only run subsections_via_symbols test when LLVM is available.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Wed, 10 Dec 2014 08:08:31 +0000 (00:08 -0800)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Wed, 10 Dec 2014 08:08:31 +0000 (00:08 -0800)
Summary: Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>

Test Plan: validate

Reviewers: austin

Subscribers: carter, thomie

Differential Revision: https://phabricator.haskell.org/D567

testsuite/tests/llvm/should_run/subsections_via_symbols/all.T

index 2ecbaa5..9d5fc75 100644 (file)
@@ -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]
 #