[llvm-commits] [llvm] r81287 - in /llvm/trunk/test/Archive: extract.ll extract_GNU.ll extract_MacOSX.ll extract_SVR4.ll extract_xpg4.ll

Daniel Dunbar daniel at zuster.org
Tue Sep 8 16:44:24 PDT 2009


Author: ddunbar
Date: Tue Sep  8 18:44:24 2009
New Revision: 81287

URL: http://llvm.org/viewvc/llvm-project?rev=81287&view=rev
Log:
Merge Archive/extract* tests into one; this avoids a race when tests are run in
parallel (the test should really use temps for the output, though).

Added:
    llvm/trunk/test/Archive/extract.ll
Removed:
    llvm/trunk/test/Archive/extract_GNU.ll
    llvm/trunk/test/Archive/extract_MacOSX.ll
    llvm/trunk/test/Archive/extract_SVR4.ll
    llvm/trunk/test/Archive/extract_xpg4.ll

Added: llvm/trunk/test/Archive/extract.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/extract.ll?rev=81287&view=auto

==============================================================================
--- llvm/trunk/test/Archive/extract.ll (added)
+++ llvm/trunk/test/Archive/extract.ll Tue Sep  8 18:44:24 2009
@@ -0,0 +1,16 @@
+; This isn't really an assembly file, its just here to run the test.
+
+; This test just makes sure that llvm-ar can extract bytecode members
+; from various style archives.
+
+; RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc
+; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
+
+; RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
+; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc > /dev/null 2>/dev/null
+
+; RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc
+; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
+
+; RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc
+; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null

Removed: llvm/trunk/test/Archive/extract_GNU.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/extract_GNU.ll?rev=81286&view=auto

==============================================================================
--- llvm/trunk/test/Archive/extract_GNU.ll (original)
+++ llvm/trunk/test/Archive/extract_GNU.ll (removed)
@@ -1,5 +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 extract bytecode members
-;from GNU style archives
-;RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc
-;RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null

Removed: llvm/trunk/test/Archive/extract_MacOSX.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/extract_MacOSX.ll?rev=81286&view=auto

==============================================================================
--- llvm/trunk/test/Archive/extract_MacOSX.ll (original)
+++ llvm/trunk/test/Archive/extract_MacOSX.ll (removed)
@@ -1,6 +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 extract bytecode members
-;from MacOSX style archives
-
-;RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
-;RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc > /dev/null 2>/dev/null

Removed: llvm/trunk/test/Archive/extract_SVR4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/extract_SVR4.ll?rev=81286&view=auto

==============================================================================
--- llvm/trunk/test/Archive/extract_SVR4.ll (original)
+++ llvm/trunk/test/Archive/extract_SVR4.ll (removed)
@@ -1,6 +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 extract bytecode members
-;from SVR4 style archives
-
-;RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc
-;RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null

Removed: llvm/trunk/test/Archive/extract_xpg4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/extract_xpg4.ll?rev=81286&view=auto

==============================================================================
--- llvm/trunk/test/Archive/extract_xpg4.ll (original)
+++ llvm/trunk/test/Archive/extract_xpg4.ll (removed)
@@ -1,6 +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 extract bytecode members
-;from xpg4 style archives
-
-;RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc
-;RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null





More information about the llvm-commits mailing list