Skip to content

Commit e1618ed

Browse files
Merge pull request #11234 from charles-zablit/charles-zablit/lldb/use-common-python-home-to-stable-to-6.2
🍒 [lldb] make lit use the same PYTHONHOME for building and running the API tests
2 parents 26f4db4 + e0857b3 commit e1618ed

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
@@ -371,6 +371,7 @@ def delete_module_cache(path):
371371
# Some steps required to initialize the tests dynamically link with python.dll
372372
# and need to know the location of the Python libraries. This ensures that we
373373
# use the same version of Python that was used to build lldb to run our tests.
374+
config.environment["PYTHONHOME"] = config.python_root_dir
374375
config.environment["PATH"] = os.path.pathsep.join(
375376
(config.python_root_dir, config.environment.get("PATH", ""))
376377
)

0 commit comments

Comments
 (0)