Skip to content

Commit 5e5b513

Browse files
Merge pull request #3082 from adrian-prantl/dlopen-target
Fix incorrect test.
2 parents d26cc0e + b8b264f commit 5e5b513

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lldb/test/API/lang/swift/deployment_target/TestSwiftDeploymentTarget.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,8 @@ def test_swift_deployment_target(self):
4545
@swiftTest
4646
def test_swift_deployment_target_dlopen(self):
4747
self.build()
48-
# Create the target
49-
target = self.dbg.CreateTarget(self.getBuildArtifact("dlopen_module"))
50-
self.assertTrue(target, VALID_TARGET)
51-
52-
(_, _, self.thread, _) = lldbutil.run_to_source_breakpoint(self,
53-
'break here', lldb.SBFileSpec('NewerTarget.swift'))
48+
lldbutil.run_to_source_breakpoint(
49+
self, 'break here', lldb.SBFileSpec('NewerTarget.swift'),
50+
exe_name="dlopen_module")
5451
self.expect("p self", substrs=['i = 23'])
5552

0 commit comments

Comments
 (0)