[PATCH] D68693: [Tests] Output of od can be lower or upper case (llvm-objcopy/yaml2obj).

Kai Nacke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 04:29:57 PDT 2019


Kai created this revision.
Kai added reviewers: Bigcheese, jakehehrlich, rupprecht, espindola, alexshap, jhenderson.
Herald added subscribers: llvm-commits, seiya, abrachet, dexonsmith, MaskRay, arichardson, emaste.
Herald added a project: LLVM.

The command `od -t x` is used to dump data in hex format.
The LIT tests assumes that the hex characters are in lowercase.
However, there are also platforms which use uppercase letter.

To solve this issue the tests are updated to use the new
`--ignore-case` option of FileCheck.


Repository:
  rL LLVM

https://reviews.llvm.org/D68693

Files:
  llvm/test/tools/llvm-objcopy/ELF/basic-binary-copy.test
  llvm/test/tools/llvm-objcopy/ELF/binary-no-paddr.test
  llvm/test/tools/llvm-objcopy/ELF/binary-paddr.test
  llvm/test/tools/llvm-objcopy/ELF/binary-segment-layout.test
  llvm/test/tools/llvm-objcopy/ELF/check-addr-offset-align-binary.test
  llvm/test/tools/llvm-objcopy/ELF/dump-section.test
  llvm/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test
  llvm/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
  llvm/test/tools/llvm-objcopy/ELF/strip-sections.test
  llvm/test/tools/yaml2obj/elf-override-shoffset.yaml
  llvm/test/tools/yaml2obj/elf-override-shsize.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68693.224018.patch
Type: text/x-patch
Size: 10267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191009/f8aa8e0e/attachment-0001.bin>


More information about the llvm-commits mailing list