[llvm-commits] [llvm] r120506 - in /llvm/trunk/test/Archive: GNU.toc MacOSX.toc SVR4.toc toc_GNU.ll toc_MacOSX.ll toc_SVR4.ll toc_xpg4.ll xpg4.toc
NAKAMURA Takumi
geek4civic at gmail.com
Tue Nov 30 16:09:25 PST 2010
Author: chapuni
Date: Tue Nov 30 18:09:25 2010
New Revision: 120506
URL: http://llvm.org/viewvc/llvm-project?rev=120506&view=rev
Log:
test/Archive: FileCheck-ize, and remove *.toc. These may be CRLF-tolerant.
Removed:
llvm/trunk/test/Archive/GNU.toc
llvm/trunk/test/Archive/MacOSX.toc
llvm/trunk/test/Archive/SVR4.toc
llvm/trunk/test/Archive/xpg4.toc
Modified:
llvm/trunk/test/Archive/toc_GNU.ll
llvm/trunk/test/Archive/toc_MacOSX.ll
llvm/trunk/test/Archive/toc_SVR4.ll
llvm/trunk/test/Archive/toc_xpg4.ll
Removed: llvm/trunk/test/Archive/GNU.toc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/GNU.toc?rev=120505&view=auto
==============================================================================
--- llvm/trunk/test/Archive/GNU.toc (original)
+++ llvm/trunk/test/Archive/GNU.toc (removed)
@@ -1,4 +0,0 @@
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
Removed: llvm/trunk/test/Archive/MacOSX.toc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/MacOSX.toc?rev=120505&view=auto
==============================================================================
--- llvm/trunk/test/Archive/MacOSX.toc (original)
+++ llvm/trunk/test/Archive/MacOSX.toc (removed)
@@ -1,5 +0,0 @@
-__.SYMDEF SORTED
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
Removed: llvm/trunk/test/Archive/SVR4.toc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/SVR4.toc?rev=120505&view=auto
==============================================================================
--- llvm/trunk/test/Archive/SVR4.toc (original)
+++ llvm/trunk/test/Archive/SVR4.toc (removed)
@@ -1,4 +0,0 @@
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
Modified: llvm/trunk/test/Archive/toc_GNU.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/toc_GNU.ll?rev=120506&r1=120505&r2=120506&view=diff
==============================================================================
--- llvm/trunk/test/Archive/toc_GNU.ll (original)
+++ llvm/trunk/test/Archive/toc_GNU.ll Tue Nov 30 18:09:25 2010
@@ -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
Modified: llvm/trunk/test/Archive/toc_MacOSX.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/toc_MacOSX.ll?rev=120506&r1=120505&r2=120506&view=diff
==============================================================================
--- llvm/trunk/test/Archive/toc_MacOSX.ll (original)
+++ llvm/trunk/test/Archive/toc_MacOSX.ll Tue Nov 30 18:09:25 2010
@@ -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
Modified: llvm/trunk/test/Archive/toc_SVR4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/toc_SVR4.ll?rev=120506&r1=120505&r2=120506&view=diff
==============================================================================
--- llvm/trunk/test/Archive/toc_SVR4.ll (original)
+++ llvm/trunk/test/Archive/toc_SVR4.ll Tue Nov 30 18:09:25 2010
@@ -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
Modified: llvm/trunk/test/Archive/toc_xpg4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/toc_xpg4.ll?rev=120506&r1=120505&r2=120506&view=diff
==============================================================================
--- llvm/trunk/test/Archive/toc_xpg4.ll (original)
+++ llvm/trunk/test/Archive/toc_xpg4.ll Tue Nov 30 18:09:25 2010
@@ -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
Removed: llvm/trunk/test/Archive/xpg4.toc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/xpg4.toc?rev=120505&view=auto
==============================================================================
--- llvm/trunk/test/Archive/xpg4.toc (original)
+++ llvm/trunk/test/Archive/xpg4.toc (removed)
@@ -1,4 +0,0 @@
-evenlen
-oddlen
-very_long_bytecode_file_name.bc
-IsNAN.o
More information about the llvm-commits
mailing list