message: Dramatically simplify testcase python
diff: @@ -29,26 +29,9 @@ class TestSwiftDeploymentTarget(TestBase):
  @decorators.add_test_categories(["swiftpr"])
  def test_swift_deployment_target(self):
  self.build()
  - # Create the target
  - target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
  - self.assertTrue(target, VALID_TARGET)
  -
  - # Set the breakpoints
  - breakpoint = target.BreakpointCreateBySourceRegex(
  - 'break here', lldb.SBFileSpec('main.swift'))
  - self.assertTrue(breakpoint.GetNumLocations() > 0, VALID_BREAKPOINT)
  -
  - # Launch the process, and do not stop at the entry point.
  - process = target.LaunchSimple(None, None, os.getcwd())
  -
  - self.assertTrue(process, PROCESS_IS_VALID)
  -
  - # Frame #0 should be at our breakpoint.
  - threads = lldbutil.get_threads_stopped_at_breakpoint(
  - process, breakpoint)
  -
  - self.assertTrue(len(threads) == 1)
  - self.thread = threads[0]
  + lldbutil.run_to_source_breakpoint(self,
  + "break here",
  + lldb.SBFileSpec('main.swift'))
  self.expect("p f", substrs=['i = 23'])
  