Turn off llvm-gcc warnings when running "make check".
authorDuncan Sands <baldrick@free.fr>
Sat, 21 Jun 2008 20:22:58 +0000 (20:22 +0000)
committerDuncan Sands <baldrick@free.fr>
Sat, 21 Jun 2008 20:22:58 +0000 (20:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52595 91177308-0d34-0410-b5e6-96231b3b80d8

test/lib/llvm.exp

index 409342215b0b43358b338556c319c3249ba16e5a..1afc00a21bed084db24aa36fdf1544e7ae22417c 100644 (file)
@@ -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