<div dir="ltr">Use following command:<div>```</div><div>./dotest.py -v --executable <build_dir>/bin/lldb <span style="font-size:12.8000001907349px">test/functionalities/</span><span style="font-size:12.8000001907349px">completion</span><br></div><div>```</div><div><br></div><div>Thanks,</div><div>Ilia</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 9:24 PM, Greg Clayton <span dir="ltr"><<a href="mailto:clayborg@gmail.com" target="_blank">clayborg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Passes on MacOSX:<br>
<br>
% ./dotest.py test/functionalities/completion<br>
LLDB library dir: /Volumes/work/gclayton/Documents/src/lldb/trunk/build/Debug<br>
lldb-330.99.0<br>
The 'lldb-mi' executable cannot be located.  Some of the tests may not be run as a result.<br>
lldb.pre_flight: None<br>
lldb.post_flight: None<br>
<br>
Session logs for test failures/errors/unexpected successes will go into directory '2015-02-25-10_23_16'<br>
Command invoked: ./dotest.py test/functionalities/completion<br>
compilers=['clang']<br>
<br>
Configuration: arch=x86_64 compiler=clang<br>
----------------------------------------------------------------------<br>
Collected 0 tests<br>
<br>
.=success F=fail E=error s=skipped x=expected-fail u=unexpected-success<br>
<br>
<br>
----------------------------------------------------------------------<br>
Ran 0 tests in 0.000s<br>
<br>
OK<br>
<br>
<br>
I would be great if someone could please look into why this is failing on other platforms?<br>
<span class="HOEnZb"><font color="#888888"><br>
Greg<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Feb 24, 2015, at 9:52 PM, Ilia K <<a href="mailto:ki.stfu@gmail.com">ki.stfu@gmail.com</a>> wrote:<br>
><br>
> After this commit I got following:<br>
><br>
>  ======================================================================<br>
>  FAIL: test_watchpoint_command_dash_w_space (TestCompletion.CommandLineCompletionTestCase)<br>
>        Test that 'watchpoint command' completes to ['Available completions:', 'add', 'delete', 'list'].<br>
>  ----------------------------------------------------------------------<br>
>  Traceback (most recent call last):<br>
>    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py", line 537, in wrapper<br>
>      func(*args, **kwargs)<br>
>    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/completion/TestCompletion.py", line 48, in test_watchpoint_command_dash_w_space<br>
>      self.complete_from_to('watchpoint command', ['Available completions:', 'add', 'delete', 'list'])<br>
>    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/completion/TestCompletion.py", line 238, in complete_from_to<br>
>      patterns = [p])<br>
>    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py", line 2098, in expect<br>
>      msg if msg else EXP_MSG(str, exe))<br>
>  AssertionError: False is not True : 'watchpoint command' successfully completes to 'Available completions:'<br>
>  Config=x86_64-clang<br>
><br>
> I already have fixed it in r230463.<br>
><br>
><br>
> <a href="http://reviews.llvm.org/rL230408" target="_blank">http://reviews.llvm.org/rL230408</a><br>
><br>
> EMAIL PREFERENCES<br>
>  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>