Lines Matching refs:lit
3 # Configuration file for the 'lit' test runner.
22 config.test_format = lit.formats.GoogleTest(llvm_build_mode, 'Tests')
41 site_cfg = lit.params.get('clang_unit_site_config', None)
43 lit.load_config(config, site_cfg)
50 # automagically generate the lit.site.cfg if we are in some kind of fresh
54 llvm_config = lit.util.which('llvm-config', config.environment['PATH'])
56 lit.fatal('No site specific configuration available!')
59 llvm_src_root = lit.util.capture(['llvm-config', '--src-root']).strip()
60 llvm_obj_root = lit.util.capture(['llvm-config', '--obj-root']).strip()
68 lit.fatal('No site specific configuration available!')
71 site_cfg = os.path.join(clang_obj_root, 'test', 'Unit', 'lit.site.cfg')
73 lit.fatal('No site specific configuration available!')
76 lit.note('using out-of-tree build at %r' % clang_obj_root)
77 lit.load_config(config, site_cfg)