Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/utils/lit/lit/
Ddiscovery.py25 def getTestSuite(item, litConfig, cache): argument
36 cfgpath = dirContainsTestSuite(path, litConfig)
53 config_map = litConfig.params.get('config_map')
61 if litConfig.debug:
62 litConfig.note('loading suite config %r' % cfgpath)
64 cfg = TestingConfig.fromdefaults(litConfig)
65 cfg.load_from_path(cfgpath, litConfig)
94 def getLocalConfig(ts, path_in_suite, litConfig, cache): argument
104 cfgpath = chooseConfigFileFromDir(source_path, litConfig.local_config_names)
113 if litConfig.debug:
[all …]
DTestingConfig.py11 def fromdefaults(litConfig): argument
19 'PATH' : os.pathsep.join(litConfig.path +
87 if litConfig.useValgrind:
89 if litConfig.valgrindLeakCheck:
106 def load_from_path(self, path, litConfig): argument
120 litConfig.fatal('unable to load config file: %r' % (path,))
126 cfg_globals['lit_config'] = litConfig
130 if litConfig.debug:
131 litConfig.note('... loaded config %r' % path)
140 litConfig.fatal(
[all …]
DTestRunner.py925 def executeScriptInternal(test, litConfig, tmpBase, commands, cwd): argument
934 cmds.append(ShUtil.ShParser(ln, litConfig.isWindows,
947 … exitCode, timeoutInfo = executeShCmd(cmd, shenv, results, timeout=litConfig.maxIndividualTestTime)
961 if litConfig.maxIndividualTestTime == 0 and \
991 if litConfig.isWindows and (result.exitCode < 0 or result.exitCode > 255):
997 if litConfig.maxIndividualTestTime > 0 and result.timeoutReached:
1003 def executeScript(test, litConfig, tmpBase, commands, cwd): argument
1004 bashPath = litConfig.getBashPath()
1005 isWin32CMDEXE = (litConfig.isWindows and not bashPath)
1013 if litConfig.isWindows and not isWin32CMDEXE:
[all …]
/openbsd/src/gnu/llvm/libcxx/utils/libcxx/test/
Dformat.py188 def getTestsInDirectory(self, testSuite, pathInSuite, litConfig, localConfig): argument
206 def execute(self, test, litConfig): argument
213 return self._executeShTest(test, litConfig, steps)
218 return self._executeShTest(test, litConfig, steps)
223 return self._executeShTest(test, litConfig, steps)
228 return self._executeShTest(test, litConfig, steps)
234 return self._executeShTest(test, litConfig, steps)
244 return self._executeShTest(test, litConfig, steps)
252 return self._executeShTest(test, litConfig, steps)
265 return self._executeShTest(test, litConfig, steps)
[all …]
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)
Ddsl.py80 litConfig = lit.LitConfig.LitConfig(
94 res = lit.TestRunner.executeScriptInternal(test, litConfig, tmpBase, parsedCommands, execDir)
/openbsd/src/gnu/llvm/llvm/utils/lit/lit/formats/
Dgoogletest.py30 def get_num_tests(self, path, litConfig, localConfig): argument
37 litConfig.warning(
45 def getTestsInDirectory(self, testSuite, path_in_suite, litConfig, argument
59 litConfig.warning(
64 num_tests = self.get_num_tests(execpath, litConfig,
104 def execute(self, test, litConfig): argument
118 use_shuffle = TestOrder(litConfig.order) == TestOrder.RANDOM
129 if litConfig.useValgrind:
130 cmd = litConfig.valgrindArgs + cmd
132 if litConfig.noExecute:
[all …]
Dbase.py14 litConfig, localConfig): argument
52 litConfig, localConfig): argument
85 def execute(self, test, litConfig): argument
124 def execute(self, test, litConfig): argument
Dshtest.py26 def execute(self, test, litConfig): argument
27 return lit.TestRunner.executeShTest(test, litConfig,
/openbsd/src/gnu/llvm/llvm/utils/lit/examples/many-tests/
DManyTests.py8 def getTestsInDirectory(self, testSuite, path_in_suite, litConfig, localConfig): argument
13 def execute(self, test, litConfig): argument
/openbsd/src/gnu/llvm/llvm/utils/lit/tests/unit/
DTestRunner.py39 TestIntegratedTestKeywordParser.litConfig = lit_config