[lldb][NFC] Test SourceFileCompletion by completing the target line-table argument

This commit is contained in:
Raphael Isemann 2020-02-11 19:59:21 +01:00
parent 1e0be76e98
commit 8888992dee
1 changed files with 8 additions and 0 deletions

View File

@ -348,6 +348,14 @@ class CommandLineCompletionTestCase(TestBase):
'stop-hook',
'variable'])
@skipIfFreeBSD # timing out on the FreeBSD buildbot
def test_target_modules_dump_line_table(self):
"""Tests source file completion by completing the line-table argument."""
self.build()
self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
self.complete_from_to('target modules dump line-table main.cp',
['main.cpp'])
@skipIfFreeBSD # timing out on the FreeBSD buildbot
def test_target_create_dash_co(self):
"""Test that 'target create --co' completes to 'target variable --core '."""