llvm/test/Object
Chandler Carruth 3c0e8fbd4e The archive update test has a subtle race condition in it: if the test
is executed within the same second as the inputs for the test are
checked out from the source tree, it will fail to update due to being
below the resolution of the 'mtime' test used.

Now, this may seem improbably to you... ok, maybe *really* improbable,
but consider a system which does distributed execution of tests by
shipping their inputs to another machine and runs them. That might cause
the mtime to be quite recent during the test run. ;]

Instead, create two files directly in the test (allowing all platforms
to see the problem) and add either a use of the 'touch' command that
forces one mtime to some time quite a bit in the past, or it sleeps for
just over a second to be outside of the precision window.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186282 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-14 10:46:51 +00:00
..
ARM Move the test for the data in code into the ARM directory as it is an ARM 2013-06-06 20:28:28 +00:00
Inputs Change archive-update.test to create a new file on the fly. 2013-07-12 21:17:17 +00:00
Mips Implement sectionContainsSymbol for ELF. 2013-04-03 18:31:19 +00:00
X86 Revert "Put r184469 disassembler test back on X86" 2013-06-21 23:17:10 +00:00
ar-create.test Don't create an archive if, for example, we are asked to print the index. 2013-07-05 13:03:07 +00:00
archive-delete.test Use a more unique name to avoid conflicting with directory.ll tests when running 2013-07-11 13:31:38 +00:00
archive-format.test Only verify the length in archive test, we can't make assumptions on the spacing. 2013-07-13 15:21:39 +00:00
archive-long-index.test [Object][ELF] Add a maximum alignment. This is used by createELFObjectFile to create a properly aligned reader. 2013-01-04 20:36:28 +00:00
archive-move.test Add tests for the before and after modifiers. 2013-07-11 21:11:55 +00:00
archive-toc.test Change llvm-ar to use lib/Object. 2013-07-12 20:21:39 +00:00
archive-update.test The archive update test has a subtle race condition in it: if the test 2013-07-14 10:46:51 +00:00
check_binary_output.ll Move tests from test/Archive to test/Object. 2013-07-10 21:47:16 +00:00
coff-archive-short.test [Object/COFF] Fix Windows .lib name handling. 2013-06-03 00:27:03 +00:00
coff-archive.test numerically sort the symbols, so that the testcase result is uniform 2012-11-13 21:01:11 +00:00
directory.ll Change llvm-ar to use lib/Object. 2013-07-12 20:21:39 +00:00
elf-reloc-no-sym.test Handle relocations that don't point to symbols. 2013-06-05 01:33:53 +00:00
extract.ll Relax the test a bit more to handle different UIDs and GIDs. 2013-07-12 19:13:16 +00:00
lit.local.cfg [yaml2obj] Initial ELF section support. 2013-06-13 22:19:48 +00:00
nm-archive.test Don't reject an empty archive. 2013-07-12 13:32:28 +00:00
nm-error.test Make llvm-nm return 1 on error. 2013-07-03 15:46:03 +00:00
nm-shared-object.test Fix SymbolRef::getAddress implementation for ELF. The 'value' field in symbol table entry should be treated differently for relocatable and relocated files. This patch fixes symbol addresses printed by llvm-nm for executables and shared objects. 2012-09-21 07:08:08 +00:00
nm-trivial-object.test Add missing ':'. 2013-04-26 17:54:46 +00:00
nm-universal-binary.test Basic support for parsing Mach-O universal binaries in LLVMObject library 2013-06-18 15:03:28 +00:00
obj2yaml.test Print symbol names in relocations when dumping COFF as YAML. 2013-06-06 13:06:17 +00:00
objdump-file-header.test Move test yaml files under Inputs until they are converted to be the actual 2012-08-02 21:52:49 +00:00
objdump-private-headers.test [Object][ELF] Fix incorrect size of members for the 64 version of Elf_Phdr_Impl. 2013-01-06 03:57:11 +00:00
objdump-relocations.test Implement the "mips endian" for r_info. 2013-04-03 21:02:51 +00:00
objdump-section-content.test llvm-objdump: Don't print contents of BSS sections: it makes no sense and crashes llvm-objdump on relocated objects with large bss 2013-04-16 10:53:11 +00:00
objdump-sectionheaders.test [llvm-objdump] Emit addresses with the correct number of leading 0's. 2013-01-10 22:40:50 +00:00
objdump-symbol-table.test Fix SymbolRef::getAddress implementation for ELF. The 'value' field in symbol table entry should be treated differently for relocatable and relocated files. This patch fixes symbol addresses printed by llvm-nm for executables and shared objects. 2012-09-21 07:08:08 +00:00
readobj-elf-versioning.test Implements low-level object file format specific output for COFF and 2013-04-03 18:31:38 +00:00
readobj-shared-object.test Implements low-level object file format specific output for COFF and 2013-04-03 18:31:38 +00:00
readobj.test [Object][ELF] Fix crash on no dynamic section. 2013-02-07 18:26:45 +00:00
relocation-executable.test Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
simple-archive.test [Object][ELF] Add a maximum alignment. This is used by createELFObjectFile to create a properly aligned reader. 2013-01-04 20:36:28 +00:00
yaml2obj-elf-bits-endian.test [yaml2obj] Initial ELF support. 2013-06-10 23:44:15 +00:00
yaml2obj-elf-file-headers.yaml [yaml2obj][ELF] Beef up this test a bit. 2013-06-19 00:55:32 +00:00
yaml2obj-elf-section-basic.yaml [yaml2obj] Add support for sh_link via Link key. 2013-06-15 00:25:26 +00:00
yaml2obj-elf-symbol-basic.yaml [yaml2obj][ELF] Make symbol table top-level key. 2013-06-22 01:38:00 +00:00
yaml2obj-elf-symbol-LocalGlobalWeak.yaml [yaml2obj][ELF] Make symbol table top-level key. 2013-06-22 01:38:00 +00:00
yaml2obj-readobj.test Write relocations in yaml2obj. 2013-04-23 15:53:02 +00:00