projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6f6b250
)
Allow replacement of %% with %
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 15 Apr 2007 04:57:03 +0000
(
04:57
+0000)
committer
Reid 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
patch
|
blob
|
history
diff --git
a/test/lib/llvm.exp
b/test/lib/llvm.exp
index ab7c994948a42c580153009681df8f5d66eb95bd..160a7848e39ad8f45d795e3e6f2fed46d5378bd8 100644
(file)
--- a/
test/lib/llvm.exp
+++ b/
test/lib/llvm.exp
@@
-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
}