Daniel Dunbar | cada5c5 | 2009-09-08 23:44:24 +0000 | [diff] [blame] | 1 | ; This isn't really an assembly file, its just here to run the test. |
| 2 | |
| 3 | ; This test just makes sure that llvm-ar can extract bytecode members |
| 4 | ; from various style archives. |
| 5 | |
| 6 | ; RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc |
NAKAMURA Takumi | 5d87255 | 2010-12-02 09:16:14 +0000 | [diff] [blame] | 7 | ; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc |
Daniel Dunbar | cada5c5 | 2009-09-08 23:44:24 +0000 | [diff] [blame] | 8 | |
| 9 | ; RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc |
NAKAMURA Takumi | 5d87255 | 2010-12-02 09:16:14 +0000 | [diff] [blame] | 10 | ; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc |
Daniel Dunbar | cada5c5 | 2009-09-08 23:44:24 +0000 | [diff] [blame] | 11 | |
| 12 | ; RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc |
NAKAMURA Takumi | 5d87255 | 2010-12-02 09:16:14 +0000 | [diff] [blame] | 13 | ; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc |
Daniel Dunbar | cada5c5 | 2009-09-08 23:44:24 +0000 | [diff] [blame] | 14 | |
| 15 | ; RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc |
NAKAMURA Takumi | 5d87255 | 2010-12-02 09:16:14 +0000 | [diff] [blame] | 16 | ; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc |