Home
last modified time | relevance | path

Searched refs:litConfig (Results 1 – 14 of 14) 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
20 'PATH' : os.pathsep.join(litConfig.path +
57 if litConfig.useValgrind:
59 if litConfig.valgrindLeakCheck:
75 def load_from_path(self, path, litConfig): argument
90 litConfig.fatal('unable to load config file: %r' % (path,))
96 cfg_globals['lit_config'] = litConfig
103 if litConfig.debug:
104 litConfig.note('... loaded config %r' % path)
113 litConfig.fatal(
[all …]
Dmain.py291 litConfig = lit.LitConfig.LitConfig(
306 run = lit.run.Run(litConfig,
307 lit.discovery.find_tests_for_inputs(litConfig, inputs))
313 if opts.maxIndividualTestTime != litConfig.maxIndividualTestTime:
314 litConfig.note(('The test suite configuration requested an individual'
318 .format(litConfig.maxIndividualTestTime,
320 litConfig.maxIndividualTestTime = opts.maxIndividualTestTime
399 litConfig.note('raised the process limit from %d to %d' % \
436 write_test_results(run, litConfig, testing_time, opts.output_path)
519 if litConfig.numErrors:
[all …]
DTestRunner.py438 def executeScriptInternal(test, litConfig, tmpBase, commands, cwd): argument
442 cmds.append(ShUtil.ShParser(ln, litConfig.isWindows,
455 … exitCode, timeoutInfo = executeShCmd(cmd, shenv, results, timeout=litConfig.maxIndividualTestTime)
469 if litConfig.maxIndividualTestTime == 0 and \
499 if litConfig.maxIndividualTestTime > 0:
505 def executeScript(test, litConfig, tmpBase, commands, cwd): argument
506 bashPath = litConfig.getBashPath();
507 isWin32CMDEXE = (litConfig.isWindows and not bashPath)
514 if litConfig.isWindows and not isWin32CMDEXE:
533 if litConfig.useValgrind:
[all …]
/external/swiftshader/third_party/LLVM/utils/lit/lit/
Dmain.py104 def __init__(self, litConfig, provider, display): argument
106 self.litConfig = litConfig
122 self.litConfig)
129 if self.litConfig.debug:
148 def getTestSuite(item, litConfig, cache): argument
171 if litConfig.debug:
172 litConfig.note('loading suite config %r' % cfgpath)
174 cfg = TestingConfig.frompath(cfgpath, None, litConfig, mustExist = True)
202 def getLocalConfig(ts, path_in_suite, litConfig, cache): argument
213 if litConfig.debug:
[all …]
DTestFormats.py19 def getGTestTests(self, path, litConfig, localConfig): argument
36 litConfig.error("unable to discover google-tests in %r" % path)
58 litConfig, localConfig): argument
75 for name in self.getGTestTests(execpath, litConfig,
80 def execute(self, test, litConfig): argument
89 if litConfig.useValgrind:
90 cmd = litConfig.valgrindArgs + cmd
104 litConfig, localConfig): argument
123 def execute(self, test, litConfig): argument
124 return TestRunner.executeShTest(test, litConfig,
[all …]
DTestRunner.py239 def executeScriptInternal(test, litConfig, tmpBase, commands, cwd): argument
242 cmd = ShUtil.ShParser(ln, litConfig.isWindows).parse()
263 def executeTclScriptInternal(test, litConfig, tmpBase, commands, cwd): argument
287 if litConfig.useValgrind:
293 cmd.args = litConfig.valgrindArgs + cmd.args
300 bashPath = litConfig.getBashPath()
301 if litConfig.useTclAsSh and bashPath:
316 command = [litConfig.getBashPath(), script]
339 def executeScript(test, litConfig, tmpBase, commands, cwd): argument
340 bashPath = litConfig.getBashPath();
[all …]
DTestingConfig.py10 def frompath(path, parent, litConfig, mustExist, config = None): argument
16 'PATH' : os.pathsep.join(litConfig.path +
49 cfg_globals['lit'] = litConfig
60 litConfig.fatal('unable to load config from %r ' % path)
62 config.finish(litConfig)
95 def finish(self, litConfig): argument
/external/llvm/utils/lit/lit/formats/
Dgoogletest.py21 def getGTestTests(self, path, litConfig, localConfig): argument
38 litConfig.error("unable to discover google-tests in %r" % path)
72 litConfig, localConfig): argument
77 for testname in self.getGTestTests(execpath, litConfig, localConfig):
82 litConfig, localConfig): argument
95 litConfig, localConfig):
100 litConfig, localConfig):
103 def execute(self, test, litConfig): argument
112 if litConfig.useValgrind:
113 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):
/external/llvm/utils/lit/tests/unit/
DTestRunner.py37 TestIntegratedTestKeywordParser.litConfig = lit_config
/external/libcxx/utils/libcxx/test/
Dformat.py62 litConfig, localConfig): argument