[llvm-dev] How to write an 'expected failure test' (original) (raw)
Xing GUO via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 22 08:15:59 PST 2019
- Previous message: [llvm-dev] Improving textual IR format for nameless blocks
- Next message: [llvm-dev] How to write an 'expected failure test'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi devs,
I want to write a test that expected to fail. And I want to check the error
message. But I found that if the command exit code is not 0, then the test
will fail. Also, if I add XFAIL: *
, it will not check the command line
output ... Can someone help me?
Best Regards, Xing -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190223/259ce2cb/attachment.html>
- Previous message: [llvm-dev] Improving textual IR format for nameless blocks
- Next message: [llvm-dev] How to write an 'expected failure test'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]