Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/
Drun.py44 def __init__(self, lit_config, tests): argument
45 self.lit_config = lit_config
52 self.lit_config.parallelism_groups.items()}
55 return _execute_test_impl(test, self.lit_config,
71 (self.lit_config,
145 if self.lit_config.singleProcess:
147 child_lit_config = self.lit_config
184 if self.lit_config.maxFailures and \
185 self.failure_count == self.lit_config.maxFailures:
188 def _execute_test_impl(test, lit_config, parallelism_semaphores): argument
[all …]
Ddiscovery.py20 def dirContainsTestSuite(path, lit_config): argument
21 cfgpath = chooseConfigFileFromDir(path, lit_config.site_config_names)
23 cfgpath = chooseConfigFileFromDir(path, lit_config.config_names)
212 def find_tests_for_inputs(lit_config, inputs): argument
241 tests.extend(getTests(input, lit_config,
244 lit_config.warning('input %r contained no tests' % input)
247 if lit_config.numErrors:
248 sys.stderr.write('%d errors, exiting.\n' % lit_config.numErrors)
/external/libcxx/utils/libcxx/test/
Dconfig.py26 def loadSiteConfig(lit_config, config, param_name, env_name): argument
31 site_cfg = lit_config.params.get(param_name,
34 lit_config.warning('No site specific configuration file found!'
37 lit_config.fatal(
41 lit_config.note('using site specific configuration at %s' % site_cfg)
42 ld_fn = lit_config.load_config
49 lit_config.load_config = prevent_reload_fn
51 lit_config.load_config = ld_fn
60 def __init__(self, lit_config, config): argument
61 self.lit_config = lit_config
[all …]
Dtarget_info.py28 self.full_config.lit_config.warning(
51 def add_common_locales(features, lit_config, is_windows=False): argument
68 lit_config.warning('The locale {0} is not supported by '
97 self.full_config.lit_config.fatal(
124 add_common_locales(features, self.full_config.lit_config)
134 … self.full_config.lit_config.warning("Could not determine macOS SDK path! stderr was " + err)
137 self.full_config.lit_config.note('using SDKROOT: %r' % sdk_path)
179 add_common_locales(features, self.full_config.lit_config)
190 add_common_locales(features, self.full_config.lit_config)
217 add_common_locales(features, self.full_config.lit_config)
[all …]
Dformat.py76 def execute(self, test, lit_config): argument
79 return self._execute(test, lit_config)
85 def _execute(self, test, lit_config): argument
113 if lit_config.noExecute:
118 lit_config.fatal('Unsupported RUN line found in test %s' % name)
159 return lit.TestRunner._runShTest(test, lit_config,
165 return self._evaluate_pass_test(test, tmpBase, lit_config,
174 def _evaluate_pass_test(self, test, tmpBase, lit_config, argument
/external/libcxx/utils/libcxx/android/test/
Dconfig.py11 def __init__(self, lit_config, config): argument
12 super(Configuration, self).__init__(lit_config, config)
18 return self.lit_config.params.get('android_mode') == 'host'
33 self.lit_config.note(
35 self.lit_config.note(
37 self.lit_config.note(
39 self.lit_config.note('Using available_features: %s' %
49 cxx_under_test = self.lit_config.params.get('cxx_under_test')
50 cxx_template = self.lit_config.params.get('cxx_template')
51 link_template = self.lit_config.params.get('link_template')
[all …]
/external/llvm/lib/Fuzzer/test/
Dlit.cfg12 lit_config.fatal("Invalid llvm_tools_dir config attribute: %r" % llvm_tools_dir)
18 lit_config.note('dfsan feature available')
21 lit_config.note('dfsan feature unavailable')
24 lit_config.note('lsan feature available')
27 lit_config.note('lsan feature unavailable')
32 lit_config.note('linux feature available')
35 lit_config.note('linux feature unavailable')
/external/clang/test/
Dlit.site.cfg.in28 config.clang_tools_dir = config.clang_tools_dir % lit_config.params
29 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
30 config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params
31 config.llvm_libs_dir = config.llvm_libs_dir % lit_config.params
35 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
38 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/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/llvm/
Dconfig.py18 def __init__(self, lit_config, config): argument
19 self.lit_config = lit_config
31 path = self.lit_config.getToolsPath(config.lit_tools_dir,
79 long_tests = lit_config.params.get('run_long_tests', None)
94 use_gmalloc = lit_config.params.get('use_gmalloc', None)
98 gmalloc_path_str = lit_config.params.get('gmalloc_path',
160 self.lit_config.fatal('Could not run process %s' % command)
192 self.lit_config.fatal(
205 self.lit_config.warning(
213 self.lit_config.warning(
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/Inputs/shtest-timeout/
Dlit.cfg9 shellType = lit_config.params.get('external', '1')
12 lit_config.note('Using internal shell')
15 lit_config.note('Using external shell')
18 configSetTimeout = lit_config.params.get('set_timeout', '0')
22 lit_config.maxIndividualTestTime = int(configSetTimeout)
/external/llvm/utils/lit/tests/Inputs/shtest-timeout/
Dlit.cfg9 shellType = lit_config.params.get('external', '1')
12 lit_config.note('Using internal shell')
15 lit_config.note('Using external shell')
18 configSetTimeout = lit_config.params.get('set_timeout', '0')
22 lit_config.maxIndividualTestTime = 1
/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/libunwind_llvm/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, 'libunwind_site_config', 'LIBUNWIND_SITE_CONFIG')
51 lit_config.warning('Creating temporary directory for object root: %s' %
58 lit_config.note('Using configuration variant: %s' % cfg_variant)
64 configuration = config_module.Configuration(lit_config, config)
/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' %
58 lit_config.note('Using configuration variant: %s' % cfg_variant)
64 configuration = config_module.Configuration(lit_config, config)
/external/libcxxabi/test/libcxxabi/test/
Dconfig.py18 def __init__(self, lit_config, config): argument
19 super(Configuration, self).__init__(lit_config, config)
72 self.lit_config.note('using the systems c++ headers')
76 self.lit_config.fatal("cxx_headers='%s' is not a directory."
84 self.lit_config.fatal("libcxxabi_headers='%s' is not a directory."
91 self.lit_config.fatal("libunwind_headers='%s' is not a directory."
/external/libcxx/test/
Dlit.cfg9 # Tell pylint that we know config and lit_config exist somewhere.
12 lit_config = object()
26 libcxx.test.config.loadSiteConfig(lit_config, config, 'libcxx_site_config',
38 lit_config.warning('Creating temporary directory for object root: %s' %
45 lit_config.note('Using configuration variant: %s' % cfg_variant)
51 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)
/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.cfg56 site_cfg = lit_config.params.get('llvm_unit_site_config', None)
58 lit_config.load_config(config, site_cfg)
71 lit_config.fatal('No site specific configuration available!')
80 lit_config.fatal('No site specific configuration available!')
85 lit_config.fatal('No site specific configuration available!')
88 lit_config.note('using out-of-tree build at %r' % llvm_obj_root)
89 lit_config.load_config(config, site_cfg)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Unit/
Dlit.site.cfg.py.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.py")
/external/compiler-rt/unittests/
Dlit.common.unit.configured.in17 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
18 config.llvm_build_mode = config.llvm_build_mode % lit_config.params
21 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key))
24 lit_config.load_config(config, "@COMPILER_RT_SOURCE_DIR@/unittests/lit.common.unit.cfg")
/external/llvm/test/
Dlit.site.cfg.in45 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
46 config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params
50 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
53 lit_config.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")

12345