/external/llvm/utils/lit/lit/ |
D | discovery.py | 21 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 …]
|
D | TestingConfig.py | 12 def fromdefaults(litConfig): argument 20 'PATH' : os.pathsep.join(litConfig.path + 56 if litConfig.useValgrind: 58 if litConfig.valgrindLeakCheck: 74 def load_from_path(self, path, litConfig): argument 89 litConfig.fatal('unable to load config file: %r' % (path,)) 95 cfg_globals['lit_config'] = litConfig 102 if litConfig.debug: 103 litConfig.note('... loaded config %r' % path) 112 litConfig.fatal( [all …]
|
D | TestRunner.py | 298 def executeScriptInternal(test, litConfig, tmpBase, commands, cwd): argument 302 cmds.append(ShUtil.ShParser(ln, litConfig.isWindows, 329 def executeScript(test, litConfig, tmpBase, commands, cwd): argument 330 bashPath = litConfig.getBashPath(); 331 isWin32CMDEXE = (litConfig.isWindows and not bashPath) 338 if litConfig.isWindows and not isWin32CMDEXE: 357 if litConfig.useValgrind: 360 command = litConfig.valgrindArgs + command 564 def _runShTest(test, litConfig, useExternalSh, script, tmpBase): argument 570 res = executeScript(test, litConfig, tmpBase, script, execdir) [all …]
|
D | main.py | 279 litConfig = lit.LitConfig.LitConfig( 293 run = lit.run.Run(litConfig, 294 lit.discovery.find_tests_for_inputs(litConfig, inputs)) 370 litConfig.note('raised the process limit from %d to %d' % \ 408 write_test_results(run, litConfig, testing_time, opts.output_path) 489 if litConfig.numErrors: 490 sys.stderr.write('\n%d error(s), exiting.\n' % litConfig.numErrors) 494 if litConfig.numWarnings: 495 sys.stderr.write('\n%d warning(s) in tests.\n' % litConfig.numWarnings)
|
/external/llvm/utils/lit/lit/formats/ |
D | googletest.py | 21 def getGTestTests(self, path, litConfig, localConfig): argument 38 litConfig.error("unable to discover google-tests in %r" % path) 66 litConfig, localConfig): argument 71 for testname in self.getGTestTests(execpath, litConfig, localConfig): 76 litConfig, localConfig): argument 89 litConfig, localConfig): 94 litConfig, localConfig): 97 def execute(self, test, litConfig): argument 106 if litConfig.useValgrind: 107 cmd = litConfig.valgrindArgs + cmd [all …]
|
D | shtest.py | 10 def execute(self, test, litConfig): argument 11 return lit.TestRunner.executeShTest(test, litConfig,
|
D | base.py | 15 litConfig, localConfig): argument 53 litConfig, localConfig): argument 86 def execute(self, test, litConfig): argument
|
/external/llvm/utils/lit/examples/many-tests/ |
D | lit.cfg | 10 litConfig, localConfig): 16 def execute(self, test, litConfig):
|
/external/libcxx/test/libcxx/test/ |
D | format.py | 34 litConfig, localConfig): argument
|