Allows about 10 passing tests to succeed rather than fail due to log file juggling.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Windows is well-known (I wouldn't say documented necessarily, but it seems
everyone has run into this problem before) where there is a very short
window after a process exits where some of the handles that were used by
the file (e.g. open files, the image file itself, etc) are still locked by
the operating system. It doesn't happen every time, or even on every
machine (I've never been able to reproduce Adrian's problem on my Windows
10 machine, for example)
Maybe it's due to the search indexer, maybe it's due to antivirus, maybe
it's due to a bug in the kernel. LLVM just had a similar problem just this
week and fixed it with a similar workaround (
http://llvm.org/viewvc/llvm-project?rev=246708&view=rev)