================
@@ -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"),
+ ]
+
----------------
Teemperor wrote:
The top level lit.cfg.py isn't loaded by any of the different sub-test suites.
Tbh, I'm not sure what that file is for. Maybe @JDevlieghere knows if/how we
would unify this code if we really wanted to.
https://github.com/llvm/llvm-project/pull/201547
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits