aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/lit.cfg.py')
-rw-r--r--lldb/test/API/lit.cfg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py
index 12675ed..f9497b6 100644
--- a/lldb/test/API/lit.cfg.py
+++ b/lldb/test/API/lit.cfg.py
@@ -309,3 +309,6 @@ if "FREEBSD_LEGACY_PLUGIN" in os.environ:
# Propagate XDG_CACHE_HOME
if "XDG_CACHE_HOME" in os.environ:
config.environment["XDG_CACHE_HOME"] = os.environ["XDG_CACHE_HOME"]
+
+if is_configured("use_vendor_packages"):
+ config.environment["LLDB_TEST_USE_VENDOR_PACKAGES"] = "1"