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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/tools/UpdateTestChecks/update_test_checks/custom-tool.test | ||
---|---|---|
2 | I can into this problem recently when trying to use llvm-extract. You could use that instead of relying on grep |
Comment Actions
Thanks, I also have a separate possible use case for this. Two minor inline comments.
llvm/utils/update_test_checks.py | ||
---|---|---|
10–18 | Maybe update the example to use the new tool argument, and mention above that opt-like | |
125–126 | Maybe also rename opt_args to tool_args, and replace opt by tool in the debug message below? |
I can into this problem recently when trying to use llvm-extract. You could use that instead of relying on grep