[PATCH] D63762: [Object/invalid.test] - Convert most of the sub tests to YAML.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 05:07:23 PDT 2019


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added a subscriber: arphaman.

Object/invalid.test is a test case that is used to check the behavior of tools
when broken inputs are used.

The most often tool tested there is llvm-readobj. I think we might want to move
such tests to `test\tools\llvm-readobj`. For now this patch converts
many sub-tests to use YAML and removes 9 binaries from the inputs.

I think there is no clean way to convert other sub-tests at this moment
(yaml2obj isn't ready for that yet)


https://reviews.llvm.org/D63762

Files:
  test/Object/Inputs/invalid-bad-rel-type.elf
  test/Object/Inputs/invalid-buffer.elf
  test/Object/Inputs/invalid-rel-sym.elf
  test/Object/Inputs/invalid-sh_entsize.elf
  test/Object/Inputs/invalid-strtab-non-null.elf
  test/Object/Inputs/invalid-strtab-type.elf
  test/Object/Inputs/invalid-strtab-zero-size.elf
  test/Object/Inputs/invalid-symbol-table-size.elf
  test/Object/Inputs/invalid-xindex-size.elf
  test/Object/invalid.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63762.206417.patch
Type: text/x-patch
Size: 11702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190625/72522be9/attachment.bin>


More information about the llvm-commits mailing list