[Tests] Output of od can be lower or upper case (llvm-objcopy/yaml2obj).
authorKai Nacke <kai.nacke@redstar.de>
Thu, 10 Oct 2019 13:24:00 +0000 (13:24 +0000)
committerKai Nacke <kai.nacke@redstar.de>
Thu, 10 Oct 2019 13:24:00 +0000 (13:24 +0000)
commit819f01d917fbb89af0614e10a0a513d294c9b098
tree5f584a0e7634b5ae7816c8b00190641bf1ee8e31
parent5070322332441beb04951e22c1972f3e0113d47e
[Tests] Output of od can be lower or upper case (llvm-objcopy/yaml2obj).

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.

Reviewers: Bigcheese, jakehehrlich, rupprecht, espindola, alexshap, jhenderson

Differential Revision: https://reviews.llvm.org/D68693

llvm-svn: 374343
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