[llvm] r186084 - Merge these tests.

Rafael Espindola rafael.espindola at gmail.com
Thu Jul 11 06:44:10 PDT 2013


Author: rafael
Date: Thu Jul 11 08:44:10 2013
New Revision: 186084

URL: http://llvm.org/viewvc/llvm-project?rev=186084&view=rev
Log:
Merge these tests.

Added:
    llvm/trunk/test/Object/archive-toc.test
Removed:
    llvm/trunk/test/Object/toc_GNU.ll
    llvm/trunk/test/Object/toc_MacOSX.ll
    llvm/trunk/test/Object/toc_SVR4.ll
    llvm/trunk/test/Object/toc_xpg4.ll

Added: llvm/trunk/test/Object/archive-toc.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-toc.test?rev=186084&view=auto
==============================================================================
--- llvm/trunk/test/Object/archive-toc.test (added)
+++ llvm/trunk/test/Object/archive-toc.test Thu Jul 11 08:44:10 2013
@@ -0,0 +1,16 @@
+Test reading an archive created by gnu ar
+RUN: llvm-ar t %p/Inputs/GNU.a | FileCheck %s
+
+Test reading an archive createdy by Mac OS X ar
+RUN: llvm-ar t %p/Inputs/MacOSX.a | FileCheck %s
+
+Test reading an archive created on Solaris by /usr/ccs/bin/ar
+RUN: llvm-ar t %p/Inputs/SVR4.a | FileCheck %s
+
+Test reading an archive created on Solaris by /usr/xpg4/bin/ar
+RUN: llvm-ar t %p/Inputs/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/Object/toc_GNU.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/toc_GNU.ll?rev=186083&view=auto
==============================================================================
--- llvm/trunk/test/Object/toc_GNU.ll (original)
+++ llvm/trunk/test/Object/toc_GNU.ll (removed)
@@ -1,8 +0,0 @@
-;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/Inputs/GNU.a | FileCheck %s
-;CHECK:      evenlen
-;CHECK-NEXT: oddlen
-;CHECK-NEXT: very_long_bytecode_file_name.bc
-;CHECK-NEXT: IsNAN.o

Removed: llvm/trunk/test/Object/toc_MacOSX.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/toc_MacOSX.ll?rev=186083&view=auto
==============================================================================
--- llvm/trunk/test/Object/toc_MacOSX.ll (original)
+++ llvm/trunk/test/Object/toc_MacOSX.ll (removed)
@@ -1,9 +0,0 @@
-;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/Inputs/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

Removed: llvm/trunk/test/Object/toc_SVR4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/toc_SVR4.ll?rev=186083&view=auto
==============================================================================
--- llvm/trunk/test/Object/toc_SVR4.ll (original)
+++ llvm/trunk/test/Object/toc_SVR4.ll (removed)
@@ -1,9 +0,0 @@
-;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
-;This archive was created on Solaris with /usr/ccs/bin/ar
-;RUN: llvm-ar t %p/Inputs/SVR4.a | FileCheck %s
-;CHECK:      evenlen
-;CHECK-NEXT: oddlen
-;CHECK-NEXT: very_long_bytecode_file_name.bc
-;CHECK-NEXT: IsNAN.o

Removed: llvm/trunk/test/Object/toc_xpg4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/toc_xpg4.ll?rev=186083&view=auto
==============================================================================
--- llvm/trunk/test/Object/toc_xpg4.ll (original)
+++ llvm/trunk/test/Object/toc_xpg4.ll (removed)
@@ -1,9 +0,0 @@
-;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
-;This archive was created on Solaris with /usr/xpg4/bin/ar
-;RUN: llvm-ar t %p/Inputs/xpg4.a | FileCheck %s
-CHECK:      evenlen
-CHECK-NEXT: oddlen
-CHECK-NEXT: very_long_bytecode_file_name.bc
-CHECK-NEXT: IsNAN.o





More information about the llvm-commits mailing list