test/Archive: FileCheck-ize, and remove *.toc. These may be CRLF-tolerant.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 1 Dec 2010 00:09:25 +0000 (00:09 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 1 Dec 2010 00:09:25 +0000 (00:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120506 91177308-0d34-0410-b5e6-96231b3b80d8

test/Archive/GNU.toc [deleted file]
test/Archive/MacOSX.toc [deleted file]
test/Archive/SVR4.toc [deleted file]
test/Archive/toc_GNU.ll
test/Archive/toc_MacOSX.ll
test/Archive/toc_SVR4.ll
test/Archive/toc_xpg4.ll
test/Archive/xpg4.toc [deleted file]

diff --git a/test/Archive/GNU.toc b/test/Archive/GNU.toc
deleted file mode 100644 (file)
index d993413..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
diff --git a/test/Archive/MacOSX.toc b/test/Archive/MacOSX.toc
deleted file mode 100644 (file)
index f971df7..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-__.SYMDEF SORTED
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
diff --git a/test/Archive/SVR4.toc b/test/Archive/SVR4.toc
deleted file mode 100644 (file)
index d993413..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
index 136f603a831e2f41ff3866060dfaa44ce59c549a..9ed7d8eb8cbdae18f079bcdf6d10d6d9841ec5a2 100644 (file)
@@ -1,5 +1,8 @@
 ;This isn't really an assembly file, its just here to run the test.
 ;This test just makes sure that llvm-ar can generate a table of contents for
 ;GNU style archives
-;RUN: llvm-ar t %p/GNU.a > %t1
-;RUN: diff %t1 %p/GNU.toc
+;RUN: llvm-ar t %p/GNU.a | FileCheck %s
+;CHECK:      evenlen
+;CHECK-NEXT: oddlen
+;CHECK-NEXT: very_long_bytecode_file_name.bc
+;CHECK-NEXT: IsNAN.o
index fb0322324081341bdca8eaeb989ea623c7082be6..6dbc9d2ea4a65da94ea2a81a8e347948ffb106d2 100644 (file)
@@ -1,5 +1,9 @@
 ;This isn't really an assembly file, its just here to run the test.
 ;This test just makes sure that llvm-ar can generate a table of contents for
 ;MacOSX style archives
-;RUN: llvm-ar t %p/MacOSX.a > %t1
-;RUN: diff %t1 %p/MacOSX.toc
+;RUN: llvm-ar t %p/MacOSX.a | FileCheck %s
+;CHECK:      __.SYMDEF SORTED
+;CHECK-NEXT: evenlen
+;CHECK-NEXT: oddlen
+;CHECK-NEXT: very_long_bytecode_file_name.bc
+;CHECK-NEXT: IsNAN.o
index 930a26fd353ed86fc85641cec2df50a6c1c82ab9..d447b92199900f8eb96cc56c928e3c1cb2dccf00 100644 (file)
@@ -1,5 +1,8 @@
 ;This isn't really an assembly file, its just here to run the test.
 ;This test just makes sure that llvm-ar can generate a table of contents for
 ;SVR4 style archives
-;RUN: llvm-ar t %p/SVR4.a > %t1
-;RUN: diff %t1 %p/SVR4.toc
+;RUN: llvm-ar t %p/SVR4.a | FileCheck %s
+;CHECK:      evenlen
+;CHECK-NEXT: oddlen
+;CHECK-NEXT: very_long_bytecode_file_name.bc
+;CHECK-NEXT: IsNAN.o
index 441af036f3cf7c5670bfce255d9854e64e954b95..fd875eebdaab97d81c96e2316a9bd3754c94130d 100644 (file)
@@ -1,5 +1,8 @@
 ;This isn't really an assembly file, its just here to run the test.
 ;This test just makes sure that llvm-ar can generate a table of contents for
 ;xpg4 style archives
-;RUN: llvm-ar t %p/xpg4.a > %t1
-;RUN: diff %t1 %p/xpg4.toc
+;RUN: llvm-ar t %p/xpg4.a | FileCheck %s
+CHECK:      evenlen
+CHECK-NEXT: oddlen
+CHECK-NEXT: very_long_bytecode_file_name.bc
+CHECK-NEXT: IsNAN.o
diff --git a/test/Archive/xpg4.toc b/test/Archive/xpg4.toc
deleted file mode 100644 (file)
index d993413..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o