diff options
author | Raphael Isemann <teemperor@gmail.com> | 2018-08-01 23:54:37 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2018-08-01 23:54:37 +0000 |
commit | 8fa58b1d178b34a03acf692ec410b0d8a2b3c825 (patch) | |
tree | 578356f11c76be6aa8dea17c5aebbda4f5abc1c3 /lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py | |
parent | db49a1f78a1342cd7cd530e1633e0795b94a8487 (diff) | |
download | bcm5719-llvm-8fa58b1d178b34a03acf692ec410b0d8a2b3c825.tar.gz bcm5719-llvm-8fa58b1d178b34a03acf692ec410b0d8a2b3c825.zip |
Remove unnecessary target from TestCompletion patch
As Jim pointed out, we don't need to manually create a target
here because we already create a target implicitly in the very
next line (which means we just created a target and don't use it).
This patch just removes the line that creates the first unused target.
llvm-svn: 338657
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py index 5d4fcf64511..5971e5a673d 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py @@ -43,7 +43,6 @@ class CommandLineCompletionTestCase(TestBase): self.build() self.main_source = "main.cpp" self.main_source_spec = lldb.SBFileSpec(self.main_source) - self.dbg.CreateTarget(self.getBuildArtifact("a.out")) (target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(self, '// Break here', self.main_source_spec) |