test for something more interesting than not crashing
[oota-llvm.git] / test / Archive / README.txt
1 test/Regression/Archive
2 =======================
3
4 This directory contains various tests of llvm-ar and llvm-ranlib to ensure 
5 compatibility reading other ar(1) formats. It also provides a basic
6 functionality test for these tools.
7
8 There are four archives stored in CVS with these tests: 
9
10 GNU.a    - constructed on Linux with GNU ar
11 MacOSX.a - constructed on Mac OS X with its native BSD4.4 ar
12 SVR4.a   - constructed on Solaris with /usr/ccs/bin/ar
13 xpg4.a   - constructed on Solaris with /usr/xpg4/bin/ar
14
15 Each type of test is run on each of these archive files.  These archives each 
16 contain four members:
17
18 oddlen - a member with an odd lengthed name and content
19 evenlen - a member with an even lengthed name and content
20 IsNAN.o - a Linux native binary
21 very_long_bytecode_file_name.bc - LLVM bytecode file with really long name
22
23 These files test different aspects of the archiver that should cause failures
24 in llvm-ar if regressions are introduced.