[all-commits] [llvm/llvm-project] 2bca78: [llvm-readobj] - Massive test cases cleanup.

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Aug 3 04:07:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bca784ab840a9fe0f4e508cece9cbcce95838bb
      https://github.com/llvm/llvm-project/commit/2bca784ab840a9fe0f4e508cece9cbcce95838bb
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/amdgpu-elf-definitions.test
    M llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test
    M llvm/test/tools/llvm-readobj/ELF/broken-dynsym-link.test
    M llvm/test/tools/llvm-readobj/ELF/call-graph-profile.test
    M llvm/test/tools/llvm-readobj/ELF/dependent-libraries.test
    M llvm/test/tools/llvm-readobj/ELF/dyn-symbols.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-reloc-no-section-headers.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-table-dtnull.s
    M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
    M llvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test
    M llvm/test/tools/llvm-readobj/ELF/file-header-os-abi.test
    M llvm/test/tools/llvm-readobj/ELF/file-types.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-notes.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-phdrs.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-section-mapping-no-phdrs.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-section-mapping.test
    M llvm/test/tools/llvm-readobj/ELF/gnu-sections.test
    M llvm/test/tools/llvm-readobj/ELF/hidden-versym.test
    M llvm/test/tools/llvm-readobj/ELF/merged.test
    M llvm/test/tools/llvm-readobj/ELF/mips-got-overlapped.test
    M llvm/test/tools/llvm-readobj/ELF/mips-options.test
    M llvm/test/tools/llvm-readobj/ELF/mips-rld-map-rel.test
    M llvm/test/tools/llvm-readobj/ELF/needed-libs.test
    M llvm/test/tools/llvm-readobj/ELF/no-action.test
    M llvm/test/tools/llvm-readobj/ELF/packed-relocs.test
    M llvm/test/tools/llvm-readobj/ELF/pt-gnu-property.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-symbol-with-versioning.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-aarch64.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-arm.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-i386.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-lanai.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-mips.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-mips64.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-x64.test
    M llvm/test/tools/llvm-readobj/ELF/sections.test
    M llvm/test/tools/llvm-readobj/ELF/types.test
    M llvm/test/tools/llvm-readobj/ELF/verdef-invalid.test
    M llvm/test/tools/llvm-readobj/ELF/versym-invalid.test

  Log Message:
  -----------
  [llvm-readobj] - Massive test cases cleanup.

This patch does the following:
1) Starts using YAML macro to reduce the number of YAML documents in tests.
2) Adds `#` before 'RUN'/`CHECK` lines in a few tests where it is missing.
3) Removes unused YAML keys.
4) Starts using `ENTSIZE=<none>` to simplify tests (see D84526).
5) Removes trailing white spaces in a few places.

Differential revision: https://reviews.llvm.org/D85013




More information about the All-commits mailing list