summaryrefslogtreecommitdiffstats
path: root/llvm/test/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 04:57:03 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 04:57:03 +0000
commit9a2319b85e03183f574a44e5812f24e2383fbc2b (patch)
tree709ac8d3d2ced4cbb06f68a4102c41e69ac6270c /llvm/test/lib
parentd025c07cce07e8709f462f5b25e89fe31b23bdd9 (diff)
downloadbcm5719-llvm-9a2319b85e03183f574a44e5812f24e2383fbc2b.tar.gz
bcm5719-llvm-9a2319b85e03183f574a44e5812f24e2383fbc2b.zip
Allow replacement of %% with %
llvm-svn: 36044
Diffstat (limited to 'llvm/test/lib')
-rw-r--r--llvm/test/lib/llvm.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/lib/llvm.exp b/llvm/test/lib/llvm.exp
index ab7c994948a..160a7848e39 100644
--- a/llvm/test/lib/llvm.exp
+++ b/llvm/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
}
OpenPOWER on IntegriCloud