diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 16:04:47 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 16:04:47 +0000 |
commit | a2f743eaff017f4bd94c0a9b37fdcb258dc9b3f6 (patch) | |
tree | d6cafe296a0b53c947db40e32407773cc6089a8c /llvm/test/Linker | |
parent | 34fe86cd9c83c04685b784e7ff29181b4981d6ce (diff) | |
download | bcm5719-llvm-a2f743eaff017f4bd94c0a9b37fdcb258dc9b3f6.tar.gz bcm5719-llvm-a2f743eaff017f4bd94c0a9b37fdcb258dc9b3f6.zip |
Fix some escaping and quoting in RUN lines, mainly involving { and <. In two
cases quoting of <{ didn't work out, so I changed the grep to check for }>
instead.
This fixes 7 testcases that were not properly running before.
llvm-svn: 52182
Diffstat (limited to 'llvm/test/Linker')
-rw-r--r-- | llvm/test/Linker/2003-10-21-ConflictingTypesTolerance.ll | 2 | ||||
-rw-r--r-- | llvm/test/Linker/2004-12-03-DisagreeingType.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Linker/2003-10-21-ConflictingTypesTolerance.ll b/llvm/test/Linker/2003-10-21-ConflictingTypesTolerance.ll index b3e64da35b3..f61d8861049 100644 --- a/llvm/test/Linker/2003-10-21-ConflictingTypesTolerance.ll +++ b/llvm/test/Linker/2003-10-21-ConflictingTypesTolerance.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as < %s > %t.out1.bc ; RUN: echo { %S = type \[8 x i32\] external global %S } | llvm-as > %t.out2.bc -; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep \{ +; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep {\\{} %S = type { i32 } diff --git a/llvm/test/Linker/2004-12-03-DisagreeingType.ll b/llvm/test/Linker/2004-12-03-DisagreeingType.ll index 63d851b1673..7378fdd3579 100644 --- a/llvm/test/Linker/2004-12-03-DisagreeingType.ll +++ b/llvm/test/Linker/2004-12-03-DisagreeingType.ll @@ -1,7 +1,7 @@ ; RUN: echo {@G = weak global \{\{\{\{double\}\}\}\} zeroinitializer } | \ ; RUN: llvm-as > %t.out2.bc ; RUN: llvm-as < %s > %t.out1.bc -; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | not grep {\}} +; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | not grep {\\}} ; When linked, the global above should be eliminated, being merged with the ; global below. |