aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lib/llvm.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp
index ab7c994948..160a7848e3 100644
--- 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
}