<div dir="ltr">Hi Chris,<div><br></div><div>I'd consider the test to be part of the lld component, so if you need to file a bug report about this, I'd file it against the lld component.</div><div><br></div><div>Thanks,</div><div><br></div><div>Kristof</div></div><br><div class="gmail_quote"><div dir="ltr">Op do 5 jul. 2018 om 11:03 schreef Chris Jackson via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I've come across a potential problem with:</div><div><br></div><div>/llvm/tools/lld/test/ELF/archive.s<br></div><div><br></div><div>Line 7: # RUN: llvm-ar rcs %t.a %t2 %t3 %t4</div><div><br></div><div>This line is not preceded by a delete of the target archive %t.a. Therefore, if for some reason this archive is corrupted, perhaps by a previous test run, then the test will fail.</div><div><br></div><div>I suggest that an 'rm -f %t.a' should be added to this and all similar lit tests calling llvm-ar with the 'r' command line flag. A similar file delete is used later in the same test before a call to llvm-ar.</div><div><br></div><div>I'm not quite sure of the correct way to file a potential bug against a test in bugzilla. This problem may be present in other lit tests.</div><div><br></div><div>regards,</div><div><br></div><div><br></div><div>Chris</div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>