[PATCH] D77750: [ELF][test] Improve reproduce tests and enable for Windows

Andrew Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 13:03:03 PDT 2020


andrewng created this revision.
andrewng added reviewers: ruiu, MaskRay, grimar.
Herald added a subscriber: emaste.
Herald added a reviewer: espindola.

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 <https://reviews.llvm.org/D77659> and deemed unnecessary.


https://reviews.llvm.org/D77750

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77750.256091.patch
Type: text/x-patch
Size: 10155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200408/34098a8d/attachment.bin>


More information about the llvm-commits mailing list