[llvm-commits] [llvm] r95318 - /llvm/trunk/test/lit.cfg

Benjamin Kramer benny.kra at googlemail.com
Thu Feb 4 10:40:18 PST 2010


Author: d0k
Date: Thu Feb  4 12:40:11 2010
New Revision: 95318

URL: http://llvm.org/viewvc/llvm-project?rev=95318&view=rev
Log:
Get the LLVMC tests working with clang++ by removing the problematic CXXFLAG in lit.

Modified:
    llvm/trunk/test/lit.cfg

Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=95318&r1=95317&r2=95318&view=diff

==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Thu Feb  4 12:40:11 2010
@@ -114,6 +114,11 @@
     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]))
 





More information about the llvm-commits mailing list