[all-commits] [llvm/llvm-project] 0b7794: update_test_checks.py: allow use with custom tools

Nicolai Hähnle via All-commits all-commits at lists.llvm.org
Thu Oct 27 01:07:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b779494a8523a0159afb399ba07f0086552b50d
      https://github.com/llvm/llvm-project/commit/0b779494a8523a0159afb399ba07f0086552b50d
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/custom-tool.ll
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/custom-tool.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_test_checks/custom-tool.test
    M llvm/utils/UpdateTestChecks/common.py
    M llvm/utils/update_test_checks.py

  Log Message:
  -----------
  update_test_checks.py: allow use with custom tools

We have a downstream project with a command-line utility that operates
pretty much exactly like `opt`. So it would make sense for us to
maintain tests with update_test_checks.py with our custom tool
substituted for `opt`, as this change allows.

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




More information about the All-commits mailing list