aboutsummaryrefslogtreecommitdiffstats
path: root/test/Archive/extract.ll
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-08 23:44:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-08 23:44:24 +0000
commitf104fefd323bde3c0259a290322b01883457ed5a (patch)
tree0c7dd80a13d35f91b6d56656de929a7f63a4593b /test/Archive/extract.ll
parent84be013efdfb9340a10c2f2821211423d0a962ab (diff)
downloadexternal_llvm-f104fefd323bde3c0259a290322b01883457ed5a.zip
external_llvm-f104fefd323bde3c0259a290322b01883457ed5a.tar.gz
external_llvm-f104fefd323bde3c0259a290322b01883457ed5a.tar.bz2
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/Archive/extract.ll')
-rw-r--r--test/Archive/extract.ll16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/Archive/extract.ll b/test/Archive/extract.ll
new file mode 100644
index 0000000..3649714
--- /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