[lldb][NFC] Test ModuleCompletion mode by completing the target modules load argument

This commit is contained in:
Raphael Isemann 2020-02-11 20:37:26 +01:00
parent c69ec64768
commit f65f9d3bc5
1 changed files with 8 additions and 0 deletions

View File

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