[LLVMdev] DejaGnu test-suite coverage

Chandler Carruth chandlerc at gmail.com
Tue May 27 21:21:35 PDT 2008


On Tue, May 27, 2008 at 8:50 PM, Chris Lattner <sabre at nondot.org> wrote:

> I think he means the lines like:
>
>     switch (Opcode) {
>
> default: assert(0 && "Unknown load!");
>
>
> where the default case is never executed.
>
> I would personally appreciate expected to fail tests that ensure the
assertions actually catch the bad inputs that they were designed to catch,
there by executing those lines. I realize that many couldn't be tested in
this manner (they assert on malformed data in the middle, which should be
caught much earlier). Anyways, I'm gonna go prod the generated files, and
see if I can capture at least some of that code.

-Chandler

> -Chris
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080527/ff584ef1/attachment.html>


More information about the llvm-dev mailing list