aboutsummaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-02 22:00:15 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-02 22:00:15 +0000
commit939e985f0ae3c58f99c8848e7cdecfd1783d8c75 (patch)
treed9e441f90a3db0639769db1648236f776b788ca8 /test/lit.cfg
parent90ae6ffdbea9aa70173f3e54a33e1eb0107b0078 (diff)
downloadexternal_llvm-939e985f0ae3c58f99c8848e7cdecfd1783d8c75.zip
external_llvm-939e985f0ae3c58f99c8848e7cdecfd1783d8c75.tar.gz
external_llvm-939e985f0ae3c58f99c8848e7cdecfd1783d8c75.tar.bz2
MCAssembler/Darwin: Add a test (on Darwin) that we assemble a bunch of
instructions exactly like 'as', and produce equivalent .o files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 8e85168..3b45bf9 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -127,6 +127,9 @@ targets = set(site_exp["TARGETS_TO_BUILD"].split())
def llvm_supports_target(name):
return name in targets
+def llvm_supports_darwin_and_target(name):
+ return 'darwin' in config.target_triple and llvm_supports_target(name)
+
langs = set(site_exp['llvmgcc_langs'].split(','))
def llvm_gcc_supports(name):
return name in langs