mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
tests: Don't error out if HOME isn't present in t the environment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110711 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5818032521
commit
1321fec0a6
@ -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