[cfe-dev] Running tests in Clang

Amila Jayasekara via cfe-dev cfe-dev at lists.llvm.org
Fri Aug 14 11:14:21 PDT 2015


Thank you everyone !

Regards
-Thejaka

On Thu, Aug 13, 2015 at 4:04 PM, Jonathan Roelofs <jonathan at codesourcery.com
> wrote:

>
>
> On 8/13/15 1:59 PM, Amila Jayasekara via cfe-dev wrote:
>
>> Hello Devs,
>>
>> I would like to understand how clang test system works. Specially the
>> tests in $project_dir/llvm/tools/clang/test and also how I can use
>> TestRunner.sh to run a single test.
>>
>
> If you're using the CMake build system, then the targets `check-all` and
> `check-clang` will run the whole clang testsuite for you.
>
> If you want to run a single testcase, then use llvm-lit from the bin
> directory of the build, and pass it the path to the testcase or directory
> of testcases.
>
>
> Jon
>
>
>> Appreciate if someone could point me to a relevant documentation or give
>> a brief introduction on how it works.
>>
>> Thank you
>> Regards
>> -Thejaka
>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>>
> --
> Jon Roelofs
> jonathan at codesourcery.com
> CodeSourcery / Mentor Embedded
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150814/4baa68e7/attachment.html>


More information about the cfe-dev mailing list