<div dir="ltr">Separately, the check-lldb command uses the 'dosep.py' multicore test runner --- which runs multiple tests at a time.<div><br></div><div>I've caught a few times where that test runner hits some unexpected lock-up conditions on MacOSX. Ideally we need to track down and fix those. The few times I've looked at it with sample graphs, it looks like some of the connection logic is locking up. It's been lower priority since nobody on the cmake/configure build paths on MacOSX have been trying to run tests. The two options from here would be (1) have somebody track down the occasional lock-ups on multicore test runs on MacOSX, or (2) consider having MacOSX check-lldb switch to run tests via dotest.py (sequential test runs) instead of dosep.py (runs multiple test directories in parallel, one worker process per core available).</div><div><br></div><div>-Todd</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 2, 2014 at 7:40 AM, Todd Fiala <span dir="ltr"><<a href="mailto:tfiala@google.com" target="_blank">tfiala@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">(er 'loading all the *right* dynamic bits...)</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 2, 2014 at 7:39 AM, Todd Fiala <span dir="ltr"><<a href="mailto:tfiala@google.com" target="_blank">tfiala@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Dawn,<div><br></div><div>For what its worth, if you're attempting to test a cmake-based MacOSX build, I have yet to get that to ever work. There is a bunch of bundling and code signing operations that occur that don't (AFAICT) happen in the cmake build. And so the tests can pick up the wrong frameworks and whatnot. If your line above does indeed look like it's working, it might be worth taking a quick peek at one of the running tests to make sure it is really loading all the write dynamic bits (i.e. ensure you're not getting some kind of frankenstein test setup where you're using exes from your build but system-wide/xcode frameworks or something).</div><div><br></div><div>(And if you did find a way that works with ninja check-lldb, that's awesome!)</div><div><br></div><div>-Todd</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Wed, Oct 1, 2014 at 9:49 PM, <span dir="ltr"><<a href="mailto:dawn@burble.org" target="_blank">dawn@burble.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Sean! From this I was able to figure out that I could test<br>
the cmake+ninja build with:<br>
./dotest.py -v --executable <builddir>/bin/lldb<br>
Which I think tested things correctly, did it? At least the failure<br>
counts were close when compared to the XCode built lldb results.<br>
<br>
Thanks!<br>
-Dawn<br>
<br>
On Wed, Oct 01, 2014 at 06:04:25PM -0700, Sean Callanan wrote:<br>
> Dawn,<br>
><br>
> ninja check-lldb isn???t the way we typically run the test suite on Mac OS.<br>
<span>> The way we do it is by running<br>
><br>
> ./dotest.py -v<br>
><br>
</span>> in the test/ subdirectory. The IDE ???Run Tests??? action does (as you surmised) nothing in our project.<br>
><br>
> Sean<br>
<div><div>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a></td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><br></td></tr></tbody></table><br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a></td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><br></td></tr></tbody></table><br></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a></td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><br></td></tr></tbody></table><br></div>
</div>