Allow replacement of %% with %
authorReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 04:57:03 +0000 (04:57 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 04:57:03 +0000 (04:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36044 91177308-0d34-0410-b5e6-96231b3b80d8

test/lib/llvm.exp

index ab7c994948a42c580153009681df8f5d66eb95bd..160a7848e39ad8f45d795e3e6f2fed46d5378bd8 100644 (file)
@@ -68,6 +68,8 @@ proc substitute { line test tmpFile } {
   regsub -all {%s} $new_line $test new_line
   #replace %t with temp filenames
   regsub -all {%t} $new_line [file join Output $tmpFile] new_line
+  #replace %% with %
+  regsub -all {%%} $new_line % new_line
   return $new_line
 }