[llvm] [NFCI][Coroutines] update tests to autogenerated formatting (PR #178358)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 28 00:55:18 PST 2026
nikic wrote:
> I'm not aware of any guidelines, so I might miss something, but doesn't this just make the test exceptionally rigid and hard to evolve?
> I had a lot of problems evolving features in some other parts of the mono repo, because dozens of tests strictly check everything, even when that wasn't really the point of the test.
For the guidelines, see the first point in https://llvm.org/docs/TestingGuide.html#best-practices-for-regression-tests.
Generated tests make it much, much easier to evolve something, because it's a matter of regenerating tests (e.g. by passing `--update-tests` to lit) and then reviewing the diff, instead of spending a few hours updating each test by hand. The downside is that it is harder to understand what the exact intent of the test is.
https://github.com/llvm/llvm-project/pull/178358
More information about the llvm-commits
mailing list