<div dir="ltr">Thank you everyone !<div><br></div><div>Regards</div><div>-Thejaka</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 13, 2015 at 4:04 PM, Jonathan Roelofs <span dir="ltr"><<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 8/13/15 1:59 PM, Amila Jayasekara via cfe-dev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Devs,<br>
<br>
I would like to understand how clang test system works. Specially the<br>
tests in $project_dir/llvm/tools/clang/test and also how I can use<br>
TestRunner.sh to run a single test.<br>
</blockquote>
<br></span>
If you're using the CMake build system, then the targets `check-all` and `check-clang` will run the whole clang testsuite for you.<br>
<br>
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.<br>
<br>
<br>
Jon<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
Appreciate if someone could point me to a relevant documentation or give<br>
a brief introduction on how it works.<br>
<br>
Thank you<br>
Regards<br>
-Thejaka<br>
<br>
<br></span><span class="">
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Jon Roelofs<br>
<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a><br>
CodeSourcery / Mentor Embedded<br>
</font></span></blockquote></div><br></div>