aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-02-11 20:37:26 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-02-11 20:38:21 +0100
commitf65f9d3bc5ab9444a9fcde17bca490bfc1f425b7 (patch)
treed3662d2517842d56feb5b5880675276863fdfdce
parentc69ec6476806147e46bf09b693acb24177982dc2 (diff)
downloadllvm-f65f9d3bc5ab9444a9fcde17bca490bfc1f425b7.zip
llvm-f65f9d3bc5ab9444a9fcde17bca490bfc1f425b7.tar.gz
llvm-f65f9d3bc5ab9444a9fcde17bca490bfc1f425b7.tar.bz2
[lldb][NFC] Test ModuleCompletion mode by completing the target modules load argument
-rw-r--r--lldb/test/API/functionalities/completion/TestCompletion.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/test/API/functionalities/completion/TestCompletion.py b/lldb/test/API/functionalities/completion/TestCompletion.py
index 83c72b3..538c626 100644
--- a/lldb/test/API/functionalities/completion/TestCompletion.py
+++ b/lldb/test/API/functionalities/completion/TestCompletion.py
@@ -357,6 +357,14 @@ class CommandLineCompletionTestCase(TestBase):
['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 '."""
self.complete_from_to('target create --co', 'target create --core ')