OSDN Git Service

Rewrite test/Linker tests to use FileCheck instead of grep.
authorEli Bendersky <eliben@google.com>
Tue, 9 Apr 2013 16:51:13 +0000 (16:51 +0000)
committerEli Bendersky <eliben@google.com>
Tue, 9 Apr 2013 16:51:13 +0000 (16:51 +0000)
commitd7170ea5a8faf37b94884c067dfbceea01762498
treed57708bb4e99aa69a6ad2e2f5b2c4ab14940d8c3
parentf6cfc15705140cc958b784a1bc98f7f0f09be6be
Rewrite test/Linker tests to use FileCheck instead of grep.

Some translations here are not 1x1 because there are grep|grep
chains that are non-trivial to implement in terms of FileCheck features. I
made an effort for the tests to remain as similar as possible; do let me know
if you notice anything fishy. The good news are that some buggy tests were
fixed (grep | not grep - a bug waiting to happen).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179102 91177308-0d34-0410-b5e6-96231b3b80d8
25 files changed:
test/Linker/2003-01-30-LinkerRename.ll
test/Linker/2003-01-30-LinkerTypeRename.ll
test/Linker/2003-04-23-LinkOnceLost.ll
test/Linker/2003-05-31-LinkerRename.ll
test/Linker/2003-08-23-GlobalVarLinking.ll
test/Linker/2003-08-24-InheritPtrSize.ll
test/Linker/2004-12-03-DisagreeingType.ll
test/Linker/2005-02-12-ConstantGlobals-2.ll
test/Linker/2005-02-12-ConstantGlobals.ll
test/Linker/2005-12-06-AppendingZeroLengthArrays.ll
test/Linker/2006-06-15-GlobalVarAlignment.ll
test/Linker/2008-03-07-DroppedSection_a.ll
test/Linker/2008-03-07-DroppedSection_b.ll
test/Linker/2008-06-26-AddressSpace.ll
test/Linker/2011-08-18-unique-class-type.ll
test/Linker/2011-08-18-unique-debug-type.ll
test/Linker/AppendingLinkage.ll
test/Linker/AppendingLinkage2.ll
test/Linker/ConstantGlobals1.ll
test/Linker/ConstantGlobals2.ll
test/Linker/ConstantGlobals3.ll
test/Linker/link-global-to-func.ll
test/Linker/linknamedmdnode.ll
test/Linker/redefinition.ll
test/Linker/weakextern.ll