From 8888992dee3706d3e84d3533d506c7e971a66382 Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Tue, 11 Feb 2020 19:59:21 +0100 Subject: [PATCH] [lldb][NFC] Test SourceFileCompletion by completing the target line-table argument --- .../test/API/functionalities/completion/TestCompletion.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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 @@ 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 '."""