forked from OSchip/llvm-project
tests: Don't make a missing llvm-gcc dir a fatal error.
llvm-svn: 96938
This commit is contained in:
parent
e615b5fe4d
commit
7e4acbdf53
|
@ -40,8 +40,6 @@ if llvm_obj_root is not None:
|
||||||
config.environment['PATH'] = path
|
config.environment['PATH'] = path
|
||||||
|
|
||||||
llvmgcc_dir = getattr(config, 'llvmgcc_dir', None)
|
llvmgcc_dir = getattr(config, 'llvmgcc_dir', None)
|
||||||
if not llvmgcc_dir:
|
|
||||||
lit.fatal('No llvm-gcc dir set!')
|
|
||||||
if llvmgcc_dir:
|
if llvmgcc_dir:
|
||||||
path = os.path.pathsep.join((os.path.join(llvmgcc_dir, 'bin'),
|
path = os.path.pathsep.join((os.path.join(llvmgcc_dir, 'bin'),
|
||||||
config.environment['PATH']))
|
config.environment['PATH']))
|
||||||
|
|
Loading…
Reference in New Issue