Author: Raphael Isemann
Date: 2020-02-11T19:59:21+01:00
New Revision: 8888992dee3706d3e84d3533d506c7e971a66382

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

LOG: [lldb][NFC] Test SourceFileCompletion by completing the target line-table 
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 26c70c1e7fc9..83c72b34d75f 100644
--- a/lldb/test/API/functionalities/completion/TestCompletion.py
+++ b/lldb/test/API/functionalities/completion/TestCompletion.py
@@ -348,6 +348,14 @@ def test_target_space(self):
                                '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 
'."""


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to