diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-08 23:44:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-08 23:44:24 +0000 |
commit | cada5c59370863762852a4356b0379a4dc4295ae (patch) | |
tree | 0c7dd80a13d35f91b6d56656de929a7f63a4593b /test | |
parent | 543d57352c3a77b2715268d2e83972b7ad5f67f4 (diff) |
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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Archive/extract.ll | 16 | ||||
-rw-r--r-- | test/Archive/extract_GNU.ll | 5 | ||||
-rw-r--r-- | test/Archive/extract_MacOSX.ll | 6 | ||||
-rw-r--r-- | test/Archive/extract_SVR4.ll | 6 | ||||
-rw-r--r-- | test/Archive/extract_xpg4.ll | 6 |
5 files changed, 16 insertions, 23 deletions
diff --git a/test/Archive/extract.ll b/test/Archive/extract.ll new file mode 100644 index 0000000000..3649714259 --- /dev/null +++ b/test/Archive/extract.ll @@ -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 diff --git a/test/Archive/extract_GNU.ll b/test/Archive/extract_GNU.ll deleted file mode 100644 index f19840a14e..0000000000 --- a/test/Archive/extract_GNU.ll +++ /dev/null @@ -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 diff --git a/test/Archive/extract_MacOSX.ll b/test/Archive/extract_MacOSX.ll deleted file mode 100644 index c811a59b33..0000000000 --- a/test/Archive/extract_MacOSX.ll +++ /dev/null @@ -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 diff --git a/test/Archive/extract_SVR4.ll b/test/Archive/extract_SVR4.ll deleted file mode 100644 index 446d52c211..0000000000 --- a/test/Archive/extract_SVR4.ll +++ /dev/null @@ -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 diff --git a/test/Archive/extract_xpg4.ll b/test/Archive/extract_xpg4.ll deleted file mode 100644 index c816d914d2..0000000000 --- a/test/Archive/extract_xpg4.ll +++ /dev/null @@ -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 |