[llvm-dev] [RFC] Compiled regression tests.
Chris Lattner via llvm-dev
llvm-dev at lists.llvm.org
Fri Jul 3 20:57:53 PDT 2020
> On Jul 2, 2020, at 11:23 AM, Hal Finkel via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>
> Someone should have updated the tests instead? The interesting question is: What about the format made it difficult to update the tests?
>
> Aside from that, as you point out, the textual output is also useful for humans. My hypothesis is that this is the general case, and all things considered, this utility pays for the price of the extra steps in the "unit testing with extra steps.”
Yes I completely agree Hal. A key part of my point is that *designing* the output formats is really important. Investing in them is good for testing, but also debugging and working with the data structure in question.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200703/73e9ce5a/attachment.html>
More information about the llvm-dev
mailing list