Home
last modified time | relevance | path

Searched refs:lit_config (Results 1 – 25 of 58) sorted by relevance

123

/external/libcxx/test/libcxx/test/
Dconfig.py18 def loadSiteConfig(lit_config, config, param_name, env_name): argument
23 site_cfg = lit_config.params.get(param_name,
26 lit_config.warning('No site specific configuration file found!'
29 lit_config.fatal(
33 lit_config.note('using site specific configuration at %s' % site_cfg)
34 ld_fn = lit_config.load_config
41 lit_config.load_config = prevent_reload_fn
43 lit_config.load_config = ld_fn
48 def __init__(self, lit_config, config): argument
49 self.lit_config = lit_config
[all …]
Dformat.py47 def execute(self, test, lit_config): argument
50 return self._execute(test, lit_config)
56 def _execute(self, test, lit_config): argument
68 if lit_config.noExecute:
74 lit_config.fatal('Unsupported RUN line found in test %s' % name)
82 return lit.TestRunner._runShTest(test, lit_config,
88 return self._evaluate_pass_test(test, tmpBase, execDir, lit_config)
96 def _evaluate_pass_test(self, test, tmpBase, execDir, lit_config): argument
/external/clang/test/
Dlit.site.cfg.in27 config.clang_tools_dir = config.clang_tools_dir % lit_config.params
28 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
29 config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params
30 config.llvm_libs_dir = config.llvm_libs_dir % lit_config.params
34 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
37 lit_config.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg")
Dlit.cfg21 path = lit_config.getToolsPath(path,
98 lit_config.fatal('No Clang tools dir set!')
101 lit_config.fatal('No LLVM tools dir set!')
107 lit_config.fatal('No LLVM libs dir set!')
127 site_cfg = lit_config.params.get('clang_site_config', None)
129 lit_config.load_config(config, site_cfg)
143 lit_config.fatal('No site specific configuration available!')
155 lit_config.fatal('No site specific configuration available!')
160 lit_config.fatal(
165 lit_config.note('using out-of-tree build at %r' % clang_obj_root)
[all …]
/external/libcxx/test/libcxx/android/test/
Dconfig.py11 def __init__(self, lit_config, config): argument
12 super(Configuration, self).__init__(lit_config, config)
25 self.lit_config.note(
27 self.lit_config.note(
29 self.lit_config.note(
31 self.lit_config.note('Using available_features: %s' %
73 mode = self.lit_config.params.get('android_mode', 'device')
/external/clang/test/Unit/
Dlit.site.cfg.in19 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
20 config.llvm_libs_dir = config.llvm_libs_dir % lit_config.params
21 config.llvm_build_mode = config.llvm_build_mode % lit_config.params
25 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
28 lit_config.load_config(config, "@CLANG_SOURCE_DIR@/test/Unit/lit.cfg")
Dlit.cfg50 site_cfg = lit_config.params.get('clang_unit_site_config', None)
52 lit_config.load_config(config, site_cfg)
65 lit_config.fatal('No site specific configuration available!')
77 lit_config.fatal('No site specific configuration available!')
82 lit_config.fatal('No site specific configuration available!')
85 lit_config.note('using out-of-tree build at %r' % clang_obj_root)
86 lit_config.load_config(config, site_cfg)
100 lit_config.fatal('No LLVM libs dir set!')
/external/libcxx/test/
Dlit.cfg9 # Tell pylint that we know config and lit_config exist somewhere.
12 lit_config = object()
29 libcxx.test.config.loadSiteConfig(lit_config, config, 'libcxx_site_config',
35 lit_config.warning('Creating temporary directory for object root: %s' %
42 lit_config.note('Using configuration variant: %s' % cfg_variant)
48 configuration = config_module.Configuration(lit_config, config)
/external/llvm/test/Unit/
Dlit.site.cfg.in15 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
16 config.llvm_build_mode = config.llvm_build_mode % lit_config.params
20 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
23 lit_config.load_config(config, "@LLVM_SOURCE_DIR@/test/Unit/lit.cfg")
Dlit.site.cfg18 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
19 config.llvm_build_mode = config.llvm_build_mode % lit_config.params
23 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
26 lit_config.load_config(config, aosp_dir + "/external/llvm/test/Unit/lit.cfg")
Dlit.cfg53 site_cfg = lit_config.params.get('llvm_unit_site_config', None)
55 lit_config.load_config(config, site_cfg)
68 lit_config.fatal('No site specific configuration available!')
77 lit_config.fatal('No site specific configuration available!')
82 lit_config.fatal('No site specific configuration available!')
85 lit_config.note('using out-of-tree build at %r' % llvm_obj_root)
86 lit_config.load_config(config, site_cfg)
/external/libcxxabi/test/
Dlit.cfg12 # Tell pylint that we know config and lit_config exist somewhere.
15 lit_config = object()
36 lit_config.fatal('Could not find libcxx test directory for test imports'
46 lit_config, config, 'libcxxabi_site_config', 'LIBCXXABI_SITE_CONFIG')
51 lit_config.warning('Creating temporary directory for object root: %s' %
64 configuration = config_module.Configuration(lit_config, config)
/external/llvm/utils/lit/lit/
Ddiscovery.py13 def dirContainsTestSuite(path, lit_config): argument
14 cfgpath = os.path.join(path, lit_config.site_config_name)
17 cfgpath = os.path.join(path, lit_config.config_name)
192 def find_tests_for_inputs(lit_config, inputs): argument
221 tests.extend(getTests(input, lit_config,
224 lit_config.warning('input %r contained no tests' % input)
227 if lit_config.numErrors:
228 sys.stderr.write('%d errors, exiting.\n' % lit_config.numErrors)
Drun.py158 def __init__(self, lit_config, tests): argument
159 self.lit_config = lit_config
166 result = test.config.test_format.execute(test, self.lit_config)
178 if self.lit_config.debug:
223 self.lit_config.note('failed to initialize multiprocessing')
/external/compiler-rt/unittests/
Dlit.common.unit.configured.in18 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
19 config.llvm_build_mode = config.llvm_build_mode % lit_config.params
22 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key))
25 lit_config.load_config(config, "@COMPILER_RT_SOURCE_DIR@/unittests/lit.common.unit.cfg")
/external/libcxxabi/test/libcxxabi/test/
Dconfig.py9 def __init__(self, lit_config, config): argument
10 super(Configuration, self).__init__(lit_config, config)
39 self.lit_config.fatal("cxx_headers='%s' is not a directory."
47 self.lit_config.fatal("libcxxabi_headers='%s' is not a directory."
/external/llvm/test/
Dlit.site.cfg.in41 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
42 config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params
46 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
49 lit_config.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")
Dlit.site.cfg43 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
44 config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params
48 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
51 lit_config.load_config(config, aosp_dir + "/external/llvm/test/lit.cfg")
/external/compiler-rt/test/
Dlit.common.cfg14 or lit_config.getBashPath() not in [None, ""])
20 lit_config.fatal("Can't find compiler on path %r" % compiler_path)
35 lit_config.fatal("Unsupported compiler id: %r" % compiler_id)
59 lit_config.fatal("Invalid llvm_tools_dir config attribute: %r" % llvm_tools_dir)
90 lit.util.usePlatformSdkOnDarwin(config, lit_config)
Dlit.common.configured.in34 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
37 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key))
40 lit_config.load_config(config, "@COMPILER_RT_SOURCE_DIR@/test/lit.common.cfg")
/external/compiler-rt/test/cfi/
Dlit.site.cfg.in1 lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
2 lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg")
/external/compiler-rt/test/dfsan/
Dlit.site.cfg.in2 lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
5 lit_config.load_config(config, "@DFSAN_LIT_TESTS_DIR@/lit.cfg")
/external/compiler-rt/test/msan/
Dlit.site.cfg.in2 lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
5 lit_config.load_config(config, "@MSAN_LIT_SOURCE_DIR@/lit.cfg")
/external/compiler-rt/test/lsan/
Dlit.site.cfg.in2 lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
8 lit_config.load_config(config, "@LSAN_LIT_SOURCE_DIR@/lit.common.cfg")
/external/compiler-rt/test/tsan/
Dlit.site.cfg.in7 lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
10 lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg")

123