[all-commits] [llvm/llvm-project] ccf16c: Make test more robust

James Henderson via All-commits all-commits at lists.llvm.org
Mon Apr 6 06:48:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ccf16c4d381d11e20de142cbb540102c8f6e0777
      https://github.com/llvm/llvm-project/commit/ccf16c4d381d11e20de142cbb540102c8f6e0777
  Author: James Henderson <james.henderson at sony.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M llvm/test/tools/llvm-objcopy/ELF/shared-strtab-shstrtab.s

  Log Message:
  -----------
  Make test more robust

llvm-readobj prints the file path as part of the output, so
--implicit-check-not patterns can accidentally match it. This patch
makes the test more robust by preventing failures if "foo" is in
somebody's path.

Reviewed by: grimar

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




More information about the All-commits mailing list