[Lldb-commits] [lldb] f65f9d3 - [lldb][NFC] Test ModuleCompletion mode by completing the target modules load argument

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 11 11:38:41 PST 2020


Author: Raphael Isemann
Date: 2020-02-11T20:38:21+01:00
New Revision: f65f9d3bc5ab9444a9fcde17bca490bfc1f425b7

URL: https://github.com/llvm/llvm-project/commit/f65f9d3bc5ab9444a9fcde17bca490bfc1f425b7
DIFF: https://github.com/llvm/llvm-project/commit/f65f9d3bc5ab9444a9fcde17bca490bfc1f425b7.diff

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

Added: 
    

Modified: 
    lldb/test/API/functionalities/completion/TestCompletion.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/completion/TestCompletion.py b/lldb/test/API/functionalities/completion/TestCompletion.py
index 83c72b34d75f..538c626d60fd 100644
--- a/lldb/test/API/functionalities/completion/TestCompletion.py
+++ b/lldb/test/API/functionalities/completion/TestCompletion.py
@@ -356,6 +356,14 @@ def test_target_modules_dump_line_table(self):
         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 '."""


        


More information about the lldb-commits mailing list