diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-02-04 18:40:11 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-02-04 18:40:11 +0000 |
commit | 66c439af28a537aaf9382f922f4318757d4692c8 (patch) | |
tree | 1f67fdc3a5bb847bd12cddf6139d5c90a6c391c2 /test | |
parent | a74b1268637ebc2f98272fdf6452c63539e72448 (diff) | |
download | llvm-66c439af28a537aaf9382f922f4318757d4692c8.tar.gz llvm-66c439af28a537aaf9382f922f4318757d4692c8.tar.bz2 llvm-66c439af28a537aaf9382f922f4318757d4692c8.tar.xz |
Get the LLVMC tests working with clang++ by removing the problematic CXXFLAG in lit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/lit.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 3b45bf9bd3..0894d9b38a 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -114,6 +114,11 @@ for sub in ['llvmgcc', 'llvmgxx', 'compile_cxx', 'compile_c', if sub in ('llvmgcc', 'llvmgxx'): config.substitutions.append(('%' + sub, site_exp[sub] + ' -emit-llvm -w')) + # FIXME: This is a hack to avoid LLVMC tests failing due to a clang driver + # warning when passing in "-fexceptions -fno-exceptions". + elif sub == 'compile_cxx': + config.substitutions.append(('%' + sub, + site_exp[sub].replace('-fno-exceptions', ''))) else: config.substitutions.append(('%' + sub, site_exp[sub])) |