[all-commits] [llvm/llvm-project] bb7d75: [llvm-readelf][llvm-readobj][test] - Cleanup test ...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Nov 27 23:56:06 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bb7d75ef1df350948a95d875c9746115f6481a2d
      https://github.com/llvm/llvm-project/commit/bb7d75ef1df350948a95d875c9746115f6481a2d
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    R llvm/test/tools/llvm-readobj/elf-invalid-versioning.test
    A llvm/test/tools/llvm-readobj/elf-verdef-invalid.test
    A llvm/test/tools/llvm-readobj/elf-verneed-invalid.test
    M llvm/test/tools/llvm-readobj/elf-versioninfo.test

  Log Message:
  -----------
  [llvm-readelf][llvm-readobj][test] - Cleanup test cases for versioning sections.

Currently we have 2 tests for testing versioning sections:
1) elf-versioninfo.test
2) elf-invalid-versioning.test

The first one currently checks how versioning sections are dumped +
how tools dump invalid SHT_GNU_verdef section.

The second despite of its name contains only tests for invalid SHT_GNU_verneed section.

In this patch I`ve renamed elf-invalid-versioning.test->elf-verneed-invalid.test,
and moved a few tests from elf-versioninfo.test to a new elf-verdef-invalid.test.

It will help to maintain these and a new tests for broken versioning sections.

Differential revision:




More information about the All-commits mailing list