================
@@ -221,6 +221,16 @@ def delete_module_cache(path):
 if is_configured("llvm_tools_dir"):
     dotest_cmd += ["--env", "LLVM_TOOLS_DIR=" + config.llvm_tools_dir]
 
+# Prevent tests from accidentally invoking the real dsymForUUID, which can
+# make slow network requests. Tests that need a working dsymForUUID mock
+# should override this with their own script.
+if platform.system() == "Darwin":
+    dotest_cmd += [
+        "--env",
+        "LLDB_APPLE_DSYMFORUUID_EXECUTABLE="
+        + os.path.join(config.lldb_src_root, "test", "Utils", 
"fake-dsymForUUID.sh"),
+    ]
+
----------------
JDevlieghere wrote:

I'm pretty sure I copied this form llvm or clang at the time. I still see 
similar files there, but they have more. If we can move shared logic there that 
would be great. If it serves no purpose then I'm fine with removing it too.

https://github.com/llvm/llvm-project/pull/201547
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to