summaryrefslogtreecommitdiff
path: root/testsuite/tests/llvm
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2014-12-10 00:08:31 -0800
committerEdward Z. Yang <ezyang@cs.stanford.edu>2014-12-10 00:08:31 -0800
commit4d1c452daf54e0ed04ee66d6d3ea9078924afd51 (patch)
tree07c6aea1810de5f999c4820bb9b6db96ccfb0592 /testsuite/tests/llvm
parent659ec2ce347d8d612dfde4eec88a04de71e2bc15 (diff)
downloadhaskell-4d1c452daf54e0ed04ee66d6d3ea9078924afd51.tar.gz
Only run subsections_via_symbols test when LLVM is available.
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
Diffstat (limited to 'testsuite/tests/llvm')
-rw-r--r--testsuite/tests/llvm/should_run/subsections_via_symbols/all.T4
1 files changed, 4 insertions, 0 deletions
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 2ecbaa5798..9d5fc75a5b 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]
#