mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-08 20:29:13 +00:00
Lit: Introduce "%/[STpst] into parseIntegratedTestScript(), to normalize substitutions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188348 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
899ee589f5
commit
e908486f5b
@ -364,6 +364,15 @@ def parseIntegratedTestScript(test, normalize_slashes=False,
|
|||||||
('%T', tmpDir),
|
('%T', tmpDir),
|
||||||
('#_MARKER_#', '%')])
|
('#_MARKER_#', '%')])
|
||||||
|
|
||||||
|
# "%/[STpst]" should be normalized.
|
||||||
|
substitutions.extend([
|
||||||
|
('%/s', sourcepath.replace('\\', '/')),
|
||||||
|
('%/S', sourcedir.replace('\\', '/')),
|
||||||
|
('%/p', sourcedir.replace('\\', '/')),
|
||||||
|
('%/t', tmpBase.replace('\\', '/') + '.tmp'),
|
||||||
|
('%/T', tmpDir.replace('\\', '/')),
|
||||||
|
])
|
||||||
|
|
||||||
# Collect the test lines from the script.
|
# Collect the test lines from the script.
|
||||||
script = []
|
script = []
|
||||||
xfails = []
|
xfails = []
|
||||||
|
Loading…
Reference in New Issue
Block a user