| D | format.py | 1 #===----------------------------------------------------------------------===## 5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 #===----------------------------------------------------------------------===## 16 def _getTempPaths(test): argument 21 that %T is a path unique to the test being run. 23 tmpDir, _ = lit.TestRunner.getTempPaths(test) 24 _, testName = os.path.split(test.getExecPath()) 31 for s in ['%{cxx}', '%{compile_flags}', '%{link_flags}', '%{flags}', '%{exec}']: 34 def parseScript(test, preamble): argument 36 Extract the script from a test, with substitutions applied. [all …]
|