Skip to content

Commit 1ba069b

Browse files
Merge pull request #11293 from charles-zablit/charles-zablit/lldb/cherry-pick-to-stable
🍒 [lldb] make lit use the same PYTHONHOME for building and running the API tests
2 parents 245b2fb + ed73cca commit 1ba069b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/test/API/lit.cfg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ def delete_module_cache(path):
387387
# Some steps required to initialize the tests dynamically link with python.dll
388388
# and need to know the location of the Python libraries. This ensures that we
389389
# use the same version of Python that was used to build lldb to run our tests.
390+
config.environment["PYTHONHOME"] = config.python_root_dir
390391
config.environment["PATH"] = os.path.pathsep.join(
391392
(config.python_root_dir, config.environment.get("PATH", ""))
392393
)

0 commit comments

Comments
 (0)