diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-02 22:00:15 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-02 22:00:15 +0000 |
commit | 197f1f024677641dc86760c56d5fcaff7e1b52ee (patch) | |
tree | d9e441f90a3db0639769db1648236f776b788ca8 /test/lit.cfg | |
parent | fc89bc903ca068eac7d311158d19ddee25db7154 (diff) | |
download | llvm-197f1f024677641dc86760c56d5fcaff7e1b52ee.tar.gz llvm-197f1f024677641dc86760c56d5fcaff7e1b52ee.tar.bz2 llvm-197f1f024677641dc86760c56d5fcaff7e1b52ee.tar.xz |
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.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 8e85168205..3b45bf9bd3 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 |