llvm.org GIT mirror llvm / 808054f
Add the lld root to llvm-lit, so llvm-lit can be used to run lld tests individually. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199264 91177308-0d34-0410-b5e6-96231b3b80d8 Joey Gouly 5 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2828 builtin_parameters['clang_tools_extra_site_config'] = \
2929 os.path.join(clang_tools_extra_obj_root, 'test', 'lit.site.cfg')
3030
31 lld_obj_root = os.path.join(llvm_obj_root, 'projects', 'lld')
32 if os.path.exists(lld_obj_root):
33 builtin_parameters['lld_site_config'] = \
34 os.path.join(lld_obj_root, 'test', 'lit.site.cfg')
35
3136 if __name__=='__main__':
3237 import lit
3338 lit.main(builtin_parameters)