Home
last modified time | relevance | path

Searched refs:litConfig (Results 1 – 8 of 8) sorted by relevance

/external/llvm/utils/lit/lit/
Ddiscovery.py21 def getTestSuite(item, litConfig, cache): argument
32 cfgpath = dirContainsTestSuite(path, litConfig)
44 if litConfig.debug:
45 litConfig.note('loading suite config %r' % cfgpath)
47 cfg = TestingConfig.fromdefaults(litConfig)
48 cfg.load_from_path(cfgpath, litConfig)
76 def getLocalConfig(ts, path_in_suite, litConfig, cache): argument
86 cfgpath = os.path.join(source_path, litConfig.local_config_name)
95 if litConfig.debug:
96 litConfig.note('loading local config %r' % cfgpath)
[all …]
DTestingConfig.py12 def fromdefaults(litConfig): argument
22 'PATH' : os.pathsep.join(litConfig.path +
50 if litConfig.useValgrind:
52 if litConfig.valgrindLeakCheck:
68 def load_from_path(self, path, litConfig): argument
83 litConfig.fatal('unable to load config file: %r' % (path,))
89 cfg_globals['lit_config'] = litConfig
96 if litConfig.debug:
97 litConfig.note('... loaded config %r' % path)
106 litConfig.fatal(
[all …]
DTestRunner.py236 def executeScriptInternal(test, litConfig, tmpBase, commands, cwd): argument
240 cmds.append(ShUtil.ShParser(ln, litConfig.isWindows,
266 def executeScript(test, litConfig, tmpBase, commands, cwd): argument
267 bashPath = litConfig.getBashPath();
268 isWin32CMDEXE = (litConfig.isWindows and not bashPath)
275 if litConfig.isWindows and not isWin32CMDEXE:
294 if litConfig.useValgrind:
297 command = litConfig.valgrindArgs + command
469 def executeShTest(test, litConfig, useExternalSh, argument
477 if litConfig.noExecute:
[all …]
Dmain.py263 litConfig = lit.LitConfig.LitConfig(
277 run = lit.run.Run(litConfig,
278 lit.discovery.find_tests_for_inputs(litConfig, inputs))
370 write_test_results(run, litConfig, testing_time, opts.output_path)
414 if litConfig.numErrors:
415 sys.stderr.write('\n%d error(s), exiting.\n' % litConfig.numErrors)
419 if litConfig.numWarnings:
420 sys.stderr.write('\n%d warning(s) in tests.\n' % litConfig.numWarnings)
/external/llvm/utils/lit/lit/formats/
Dgoogletest.py21 def getGTestTests(self, path, litConfig, localConfig): argument
39 litConfig.error("unable to discover google-tests in %r" % path)
62 litConfig, localConfig): argument
67 for testname in self.getGTestTests(execpath, litConfig, localConfig):
72 litConfig, localConfig): argument
85 litConfig, localConfig):
90 litConfig, localConfig):
93 def execute(self, test, litConfig): argument
102 if litConfig.useValgrind:
103 cmd = litConfig.valgrindArgs + cmd
[all …]
Dshtest.py10 def execute(self, test, litConfig): argument
11 return lit.TestRunner.executeShTest(test, litConfig,
Dbase.py15 litConfig, localConfig): argument
53 litConfig, localConfig): argument
86 def execute(self, test, litConfig): argument
/external/llvm/utils/lit/examples/many-tests/
Dlit.cfg10 litConfig, localConfig):
16 def execute(self, test, litConfig):