mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 03:48:57 +00:00
tests: Don't error out if HOME isn't present in t the environment.
llvm-svn: 110711
This commit is contained in:
parent
784a286b92
commit
eb15b8b44d
@ -46,7 +46,8 @@ if llvm_obj_root is not None:
|
||||
config.environment['PATH'] = path
|
||||
|
||||
# Propogate 'HOME' through the environment.
|
||||
config.environment['HOME'] = os.environ['HOME']
|
||||
if 'HOME' in os.environ:
|
||||
config.environment['HOME'] = os.environ['HOME']
|
||||
|
||||
# Propogate LLVM_SRC_ROOT into the environment.
|
||||
config.environment['LLVM_SRC_ROOT'] = getattr(config, 'llvm_src_root', '')
|
||||
|
Loading…
x
Reference in New Issue
Block a user