[llvm-dev] Test files with no checks

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Fri Apr 2 10:57:52 PDT 2021


But I like the function justDontCrash().

I'm fixing something about list slices, so I'll write a more 
comprehensive test. What's funny is that ListSlices.td doesn't detect 
the problem.

On 4/2/2021 1:40 PM, David Blaikie wrote:
> We sometimes get tests like this to validate that a crash has been
> fixed - generally I try to push back on such tests because they seem
> underspecified to me: Presumably we want the program to have some
> specific behavior, not only "anything other than crashing" & the crash
> represents some lack of testing - some behavior behind/after the
> crash-point wasn't validated and probably should be validated.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210402/d2a9e7c2/attachment.html>


More information about the llvm-dev mailing list