From: Duncan Sands Date: Sat, 21 Jun 2008 20:22:58 +0000 (+0000) Subject: Turn off llvm-gcc warnings when running "make check". X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=53ebe352ab265aa029d16fe27426e32f07fef609;p=oota-llvm.git Turn off llvm-gcc warnings when running "make check". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52595 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp index 409342215b0..1afc00a21be 100644 --- a/test/lib/llvm.exp +++ b/test/lib/llvm.exp @@ -57,9 +57,9 @@ proc substitute { line test tmpFile } { #replace %prcontext with prcontext.tcl (Must replace before %p) regsub -all {%prcontext} $new_line $prcontext new_line #replace %llvmgcc with actual path to llvmgcc - regsub -all {%llvmgcc} $new_line "$llvmgcc -emit-llvm" new_line + regsub -all {%llvmgcc} $new_line "$llvmgcc -emit-llvm -w" new_line #replace %llvmgxx with actual path to llvmg++ - regsub -all {%llvmgxx} $new_line "$llvmgxx -emit-llvm" new_line + regsub -all {%llvmgxx} $new_line "$llvmgxx -emit-llvm -w" new_line #replace %compile_cxx with C++ compilation command regsub -all {%compile_cxx} $new_line "$compile_cxx" new_line #replace %compile_c with C compilation command