Displaying 3 results from an estimated 3 matches for "e2f5d759".
2018 May 04
0
RFC: Are auto-generated assertions a good practice?
I understand the overfit argument (but in most cases it just shows that a
unit test isn't minimized)...but I don't see how the complete
auto-generated assertions could be worse at detecting a miscompile than
incomplete manually-generated assertions?
The whole point of auto-generating complete checks is to catch
miscompiles/regressions sooner. Ie, before they get committed and result in
2018 May 04
2
RFC: Are auto-generated assertions a good practice?
Yep - all about balance.
The main risk are tests that overfit (golden files being the worst case -
checking that the entire output matches /exactly/ - this is what FileCheck
is intended to help avoid) and maintainability. In the case of the
autogenerated FileCheck lines I've seen so far - they seem like they still
walk a fairly good line of checking exactly what's intended. Though I
2018 May 04
2
RFC: Are auto-generated assertions a good practice?
...LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180504/e2f5d759/attachment.html>