llvm.org GIT mirror llvm / 3021734
lit: Set a base directory for compiler-rt tests Setting this parameter enables llvm-lit to run on source directories for compiler-rt test suites that implement magic in their lit.cfg. <rdar://problem/16458307> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205262 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan P. N. Exon Smith 5 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3333 builtin_parameters['lld_site_config'] = \
3434 os.path.join(lld_obj_root, 'test', 'lit.site.cfg')
3535
36 compilerrt_obj_root = os.path.join(llvm_obj_root, 'projects', 'compiler-rt')
37 if os.path.exists(compilerrt_obj_root):
38 builtin_parameters['compilerrt_site_basedir'] = \
39 os.path.join(compilerrt_obj_root, 'test')
40
3641 if __name__=='__main__':
3742 import lit
3843 lit.main(builtin_parameters)