Lines Matching refs:lit
9 # Configuration file for the 'lit' test runner.
18 path = lit.getToolsPath(path,
31 or lit.getBashPath() not in [None, ""])
32 config.test_format = lit.formats.ShTest(execute_external)
82 lit.fatal('No LLVM tools dir set!')
88 lit.fatal('No LLVM libs dir set!')
103 site_cfg = lit.params.get('clang_site_config', None)
105 lit.load_config(config, site_cfg)
112 # automagically generate the lit.site.cfg if we are in some kind of fresh
117 llvm_config = lit.util.which('llvm-config', config.environment['PATH'])
119 lit.fatal('No site specific configuration available!')
122 llvm_src_root = lit.util.capture(['llvm-config', '--src-root']).strip()
123 llvm_obj_root = lit.util.capture(['llvm-config', '--obj-root']).strip()
131 lit.fatal('No site specific configuration available!')
134 site_cfg = os.path.join(clang_obj_root, 'test', 'lit.site.cfg')
136 lit.fatal('No site specific configuration available! You may need to '
140 lit.note('using out-of-tree build at %r' % clang_obj_root)
141 lit.load_config(config, site_cfg)
160 clang = lit.util.which('clang', PATH)
163 lit.fatal("couldn't find 'clang' program, try setting "
170 if lit.useValgrind:
174 if not lit.quiet:
175 lit.note('using clang: %r' % config.clang)
186 lit.fatal("Couldn't find the include dir for Clang ('%s')" % clang)
222 if platform.system() not in ['Windows'] or lit.getBashPath() != '':
254 lit.fatal('No Targets Registered with the LLVM Tools!')