forked from OSchip/llvm-project
[lldb][NFC] Relax completion tests for log command to make them pass on Linux
The log channels change depending on platform, so listing them breaks on some platforms. Let's just check that the 'lldb' and 'dwarf' channels are there which are independent of platform. llvm-svn: 372701
This commit is contained in:
parent
3abbd43a59
commit
75c57b587d
|
@ -103,33 +103,22 @@ class CommandLineCompletionTestCase(TestBase):
|
|||
|
||||
@skipIfFreeBSD # timing out on the FreeBSD buildbot
|
||||
def test_log_enable(self):
|
||||
self.completions_match('log enable ',
|
||||
['dwarf',
|
||||
'gdb-remote',
|
||||
'kdp-remote',
|
||||
'lldb'])
|
||||
self.complete_from_to('log enable ll', ['lldb'])
|
||||
self.complete_from_to('log enable dw', ['dwarf'])
|
||||
self.complete_from_to('log enable lldb al', ['all'])
|
||||
self.complete_from_to('log enable lldb sym', ['symbol'])
|
||||
|
||||
@skipIfFreeBSD # timing out on the FreeBSD buildbot
|
||||
def test_log_enable(self):
|
||||
self.completions_match('log disable ',
|
||||
['dwarf',
|
||||
'gdb-remote',
|
||||
'kdp-remote',
|
||||
'lldb'])
|
||||
self.complete_from_to('log disable ll', ['lldb'])
|
||||
self.complete_from_to('log disable dw', ['dwarf'])
|
||||
self.complete_from_to('log disable lldb al', ['all'])
|
||||
self.complete_from_to('log disable lldb sym', ['symbol'])
|
||||
|
||||
@skipIfFreeBSD # timing out on the FreeBSD buildbot
|
||||
def test_log_list(self):
|
||||
self.completions_match('log list ',
|
||||
['dwarf',
|
||||
'gdb-remote',
|
||||
'kdp-remote',
|
||||
'lldb'])
|
||||
self.complete_from_to('log list ll', ['lldb'])
|
||||
self.complete_from_to('log list dw', ['dwarf'])
|
||||
self.complete_from_to('log list ll', ['lldb'])
|
||||
self.complete_from_to('log list lldb dwa', ['dwarf'])
|
||||
|
||||
|
|
Loading…
Reference in New Issue