[Lldb-commits] [Diffusion] rL230408: If you try to auto-complete "target symbols<TAB>" you get "target symbolsadd"…
Ilia K
ki.stfu at gmail.com
Wed Feb 25 10:27:46 PST 2015
Use following command:
```
./dotest.py -v --executable <build_dir>/bin/lldb test/functionalities/
completion
```
Thanks,
Ilia
On Wed, Feb 25, 2015 at 9:24 PM, Greg Clayton <clayborg at gmail.com> wrote:
> Passes on MacOSX:
>
> % ./dotest.py test/functionalities/completion
> LLDB library dir:
> /Volumes/work/gclayton/Documents/src/lldb/trunk/build/Debug
> lldb-330.99.0
> The 'lldb-mi' executable cannot be located. Some of the tests may not be
> run as a result.
> lldb.pre_flight: None
> lldb.post_flight: None
>
> Session logs for test failures/errors/unexpected successes will go into
> directory '2015-02-25-10_23_16'
> Command invoked: ./dotest.py test/functionalities/completion
> compilers=['clang']
>
> Configuration: arch=x86_64 compiler=clang
> ----------------------------------------------------------------------
> Collected 0 tests
>
> .=success F=fail E=error s=skipped x=expected-fail u=unexpected-success
>
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
>
> OK
>
>
> I would be great if someone could please look into why this is failing on
> other platforms?
>
> Greg
>
> > On Feb 24, 2015, at 9:52 PM, Ilia K <ki.stfu at gmail.com> wrote:
> >
> > After this commit I got following:
> >
> > ======================================================================
> > FAIL: test_watchpoint_command_dash_w_space
> (TestCompletion.CommandLineCompletionTestCase)
> > Test that 'watchpoint command' completes to ['Available
> completions:', 'add', 'delete', 'list'].
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File
> "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
> line 537, in wrapper
> > func(*args, **kwargs)
> > 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
> > self.complete_from_to('watchpoint command', ['Available
> completions:', 'add', 'delete', 'list'])
> > File
> "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/completion/TestCompletion.py",
> line 238, in complete_from_to
> > patterns = [p])
> > File
> "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py",
> line 2098, in expect
> > msg if msg else EXP_MSG(str, exe))
> > AssertionError: False is not True : 'watchpoint command' successfully
> completes to 'Available completions:'
> > Config=x86_64-clang
> >
> > I already have fixed it in r230463.
> >
> >
> > http://reviews.llvm.org/rL230408
> >
> > EMAIL PREFERENCES
> > http://reviews.llvm.org/settings/panel/emailpreferences/
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150225/e6d79783/attachment.html>
More information about the lldb-commits
mailing list