[LLVMdev] How to write a regression test case?

Changcheng Wang changcheng at multicorewareinc.com
Tue Aug 28 00:22:19 PDT 2012


thank yang,thank Wei-Ren!

i feel i am a question boy,because i has another question now.
i want to check if a program output right result,which example in
llvm/test/* can give me some idea?
suppose i have a helloworld program if it run well,it can give me a
result "helloworld",so i want to check if the result is "helloworld".

best wishes!

changcheng




On Tue, Aug 28, 2012 at 2:58 PM, 陳韋任 (Wei-Ren Chen)
<chenwj at iis.sinica.edu.tw> wrote:
>> still a question:
>>  what does "; PR1028" means?
>
>   I believe it means this test case addresses bug report (pr, problem
> report) 1028 [1]. In other words, this test case guarantee that pr1028
> will not back again. If so, it will fail.
>
> Regards,
> chenwj
>
> [1] http://llvm.org/bugs/show_bug.cgi?id=1028
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
> Homepage: http://people.cs.nctu.edu.tw/~chenwj




More information about the llvm-dev mailing list