jingham added inline comments.

================
Comment at: lldb/test/API/functionalities/load_unload/TestLoadUnload.py:419
         self.copy_shlibs_to_remote()
+        env_cmd_string = "settings set target.env-vars " + self.dylibPath + 
"=" + self.getBuildArtifact(".")
+        self.runCmd(env_cmd_string)
----------------
You could also do this by making an SBLaunchInfo, adding the environment 
variable to it, and then you could use lldbutil.run_to_name_breakpoint.  That 
would remove some of the boilerplate below.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77662/new/

https://reviews.llvm.org/D77662



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

Reply via email to