[Lldb-commits] [lldb] r369506 - [lldb][NFC] Add tests for invalid command invocations

Raphael “Teemperor” Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 21 07:22:17 PDT 2019


Thanks, just pushed a fix where I merge that into the dedicated apropos test!

> On 21. Aug 2019, at 16:16, Pavel Labath <pavel at labath.sk> wrote:
> 
> On 21/08/2019 11:15, Raphael Isemann via lldb-commits wrote:
>> Author: teemperor
>> Date: Wed Aug 21 02:15:44 2019
>> New Revision: 369506
>> URL: http://llvm.org/viewvc/llvm-project?rev=369506&view=rev
>> Log:
>> [lldb][NFC] Add tests for invalid command invocations
>> Added:
>>     lldb/trunk/packages/Python/lldbsuite/test/functionalities/apropos/
>>     lldb/trunk/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
> 
> It looks like there is already a test called TestApropos.py in ./packages/Python/lldbsuite/test/help/TestApropos.py.
> 
> This makes lldb-dotest sad:
> $ python2 bin/lldb-dotest
> ...
> Traceback (most recent call last):
>  File "/home/pavelo/ll/lldb/test/dotest.py", line 7, in <module>
>    lldbsuite.test.run_suite()
>  File "/home/pavelo/ll/lldb/packages/Python/lldbsuite/test/dotest.py", line 1237, in run_suite
>    visit('Test', dirpath, filenames)
>  File "/home/pavelo/ll/lldb/packages/Python/lldbsuite/test/dotest.py", line 881, in visit
>    raise Exception("Found multiple tests with the name %s" % name)
> Exception: Found multiple tests with the name TestApropos.py



More information about the lldb-commits mailing list