mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
tests: Tweak lit.cfg to fix breakage with out-of-dir lookup.
llvm-svn: 106638
This commit is contained in:
parent
be50ef88bd
commit
a83dc9a464
@ -49,7 +49,7 @@ if llvm_obj_root is not None:
|
||||
config.environment['HOME'] = os.environ['HOME']
|
||||
|
||||
# Propogate LLVM_SRC_ROOT into the environment.
|
||||
config.environment['LLVM_SRC_ROOT'] = config.llvm_src_root
|
||||
config.environment['LLVM_SRC_ROOT'] = getattr(config, 'llvm_src_root', '')
|
||||
|
||||
# Propogate PYTHON_EXEUTABLE into the environment
|
||||
config.environment['PYTHON_EXECUTABLE'] = getattr(config, 'python_executable',
|
||||
|
Loading…
Reference in New Issue
Block a user