Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/
H A Ddiscovery.py25 def getTestSuite(item, litConfig, cache): argument
36 cfgpath = dirContainsTestSuite(path, litConfig)
53 config_map = litConfig.params.get('config_map')
62 if litConfig.debug:
63 litConfig.note('loading suite config %r' % cfgpath)
65 cfg = TestingConfig.fromdefaults(litConfig)
66 cfg.load_from_path(cfgpath, litConfig)
95 def getLocalConfig(ts, path_in_suite, litConfig, cache): argument
105 cfgpath = chooseConfigFileFromDir(source_path, litConfig.local_config_names)
114 if litConfig.debug:
[all …]
H A DTestingConfig.py11 def fromdefaults(litConfig): argument
19 'PATH' : os.pathsep.join(litConfig.path +
49 if litConfig.useValgrind:
51 if litConfig.valgrindLeakCheck:
68 def load_from_path(self, path, litConfig): argument
82 litConfig.fatal('unable to load config file: %r' % (path,))
88 cfg_globals['lit_config'] = litConfig
92 if litConfig.debug:
93 litConfig.note('... loaded config %r' % path)
102 litConfig.fatal(
[all …]
H A DTestRunner.py896 def executeScriptInternal(test, litConfig, tmpBase, commands, cwd): argument
901 cmds.append(ShUtil.ShParser(ln, litConfig.isWindows,
914 … exitCode, timeoutInfo = executeShCmd(cmd, shenv, results, timeout=litConfig.maxIndividualTestTime)
928 if litConfig.maxIndividualTestTime == 0 and \
958 if litConfig.isWindows and result.exitCode < 0:
964 if litConfig.maxIndividualTestTime > 0 and result.timeoutReached:
970 def executeScript(test, litConfig, tmpBase, commands, cwd): argument
971 bashPath = litConfig.getBashPath()
972 isWin32CMDEXE = (litConfig.isWindows and not bashPath)
980 if litConfig.isWindows and not isWin32CMDEXE:
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/test/
H A Dformat.py195 def getTestsInDirectory(self, testSuite, pathInSuite, litConfig, localConfig): argument
218 def execute(self, test, litConfig): argument
233 return self._executeShTest(test, litConfig, steps)
238 return self._executeShTest(test, litConfig, steps)
243 return self._executeShTest(test, litConfig, steps)
248 return self._executeShTest(test, litConfig, steps)
254 return self._executeShTest(test, litConfig, steps)
264 return self._executeShTest(test, litConfig, steps)
272 return self._executeShTest(test, litConfig, steps)
285 return self._executeShTest(test, litConfig, steps)
[all …]
H A Dgooglebenchmark.py26 def getBenchmarkTests(self, path, litConfig, localConfig): argument
44 litConfig.warning(
73 litConfig, localConfig): argument
83 testnames = self.getBenchmarkTests(execpath, litConfig, localConfig)
89 def execute(self, test, litConfig): argument
99 if litConfig.noExecute:
105 timeout=litConfig.maxIndividualTestTime)
109 litConfig.maxIndividualTestTime)
H A Ddsl.py50 litConfig = lit.LitConfig.LitConfig(
66 res = lit.TestRunner.executeScriptInternal(test, litConfig, tmpBase, parsedCommands, execDir)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/formats/
H A Dgoogletest.py27 def getGTestTests(self, path, litConfig, localConfig): argument
43 litConfig.warning(
93 litConfig, localConfig): argument
103 testnames = self.getGTestTests(execpath, litConfig, localConfig)
109 def execute(self, test, litConfig): argument
119 if litConfig.useValgrind:
120 cmd = litConfig.valgrindArgs + cmd
122 if litConfig.noExecute:
130 timeout=litConfig.maxIndividualTestTime)
H A Dbase.py14 litConfig, localConfig): argument
52 litConfig, localConfig): argument
85 def execute(self, test, litConfig): argument
124 def execute(self, test, litConfig): argument
H A Dshtest.py26 def execute(self, test, litConfig): argument
27 return lit.TestRunner.executeShTest(test, litConfig,
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/examples/many-tests/
H A DManyTests.py8 def getTestsInDirectory(self, testSuite, path_in_suite, litConfig, localConfig): argument
13 def execute(self, test, litConfig): argument
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/unit/
H A DTestRunner.py38 TestIntegratedTestKeywordParser.litConfig = lit_config