[PATCH] D136329: update_test_checks.py: allow use with custom tools

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 03:06:05 PDT 2022


nhaehnle created this revision.
nhaehnle added reviewers: MaskRay, arsenm, aemerson, arichardson.
Herald added a subscriber: StephenFan.
Herald added a project: All.
nhaehnle requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136329

Files:
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/custom-tool.ll
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/custom-tool.ll.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/custom-tool.test
  llvm/utils/UpdateTestChecks/common.py
  llvm/utils/update_test_checks.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136329.469152.patch
Type: text/x-patch
Size: 6142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221020/a62dd61c/attachment.bin>


More information about the llvm-commits mailing list