<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class="">When using lit as the driver (which is the case for check-lldb), the test</div><div class="">granularity is at file-level: lit invokes dotest.py for every test file. You</div><div class="">should be able to specify files to skip with lit's --filter. </div><div class=""><br class=""></div><div class="">With regards to threading, lit will schedule one instance of dotest.py on every</div><div class="">thread, which processes one test file. Unless you passed specific options for</div><div class="">dotest.py, the latter will run the different tests within that one file on</div><div class="">different threads as well. (IIRC)</div></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Sep 19, 2018, at 7:20 PM, Gábor Márton via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">That's okay, but is it possible to skip a few tests, when using lit? I was thinking about moving the test files I want to skip, but that has obvious drawbacks. Also --filter does not seem so useful in this case.</div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Wed, 19 Sep 2018, 18:46 , <<a href="mailto:ted.woodward@codeaurora.org" class="">ted.woodward@codeaurora.org</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unless you pass  --no-multiprocess to dotest, it should detect how many cores your system has and use them.<br class="">
<br class="">
--<br class="">
Ted Woodward<br class="">
Qualcomm Innovation Center, Inc.<br class="">
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project<br class="">
<br class="">
-----Original Message-----<br class="">
From: lldb-dev <<a href="mailto:lldb-dev-bounces@lists.llvm.org" target="_blank" rel="noreferrer" class="">lldb-dev-bounces@lists.llvm.org</a>> On Behalf Of Gábor Márton via lldb-dev<br class="">
Sent: Wednesday, September 19, 2018 11:04 AM<br class="">
To: <a href="mailto:lldb-dev@lists.llvm.org" target="_blank" rel="noreferrer" class="">lldb-dev@lists.llvm.org</a><br class="">
Subject: Re: [lldb-dev] skip some tests with "check-lldb"<br class="">
<br class="">
I just realized that `dotest.py` has a --thread option. Is that the one which is used during the lit test (`ninja check-lldb`) ?<br class="">
<br class="">
On Wed, Sep 19, 2018 at 6:00 PM Gábor Márton <<a href="mailto:martongabesz@gmail.com" target="_blank" rel="noreferrer" class="">martongabesz@gmail.com</a>> wrote:<br class="">
><br class="">
> Hi,<br class="">
><br class="">
> I'd like to skip some tests when I run "ninja check-lldb", because they fail.<br class="">
> I am on release_70 branch.<br class="">
> I know I could use dotest.py directly, but that would exercise only one thread.<br class="">
> Is there a way to execute the tests parallel on all cores and in the <br class="">
> same time skip some of the tests?<br class="">
><br class="">
> Thanks,<br class="">
> Gabor<br class="">
_______________________________________________<br class="">
lldb-dev mailing list<br class="">
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank" rel="noreferrer" class="">lldb-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br class="">
<br class="">
</blockquote></div>
_______________________________________________<br class="">lldb-dev mailing list<br class=""><a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev<br class=""></div></blockquote></div><br class=""></body></html>