[ELF][test] Improve reproduce tests and enable for Windows
authorAndrew Ng <andrew.ng@sony.com>
Wed, 8 Apr 2020 19:21:16 +0000 (20:21 +0100)
committerAndrew Ng <andrew.ng@sony.com>
Thu, 9 Apr 2020 15:06:55 +0000 (16:06 +0100)
commitd08105482e1582fcdf96fca8b179439643c40304
treeb548aebee22f3329b8d17543475cc281253c53c8
parent16784892347b213da1d53bc05f59984d66dd014d
[ELF][test] Improve reproduce tests and enable for Windows

This patch changes the reproduce tests so that they no longer extract
the "long" paths of the generated reproduce tar archives. This
extraction prevented them from being run on Windows due to potential
issues relating to the Windows path length limit.

This patch also reduces the use of diff in these tests, as this was
raised as a performance concern in review D77659 and deemed unnecessary.

Differential Revision: https://reviews.llvm.org/D77750
lld/test/ELF/reproduce-deplibs.s
lld/test/ELF/reproduce-error.s
lld/test/ELF/reproduce-linkerscript.s
lld/test/ELF/reproduce-thin-archive.s
lld/test/ELF/reproduce-windows.s
lld/test/ELF/reproduce-windows2.s
lld/test/ELF/reproduce.s