summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 899ee58)
raw | patch | inline | side by side (parent: 899ee58)
author | NAKAMURA Takumi <geek4civic@gmail.com> | |
Wed, 14 Aug 2013 02:26:31 +0000 (02:26 +0000) | ||
committer | NAKAMURA Takumi <geek4civic@gmail.com> | |
Wed, 14 Aug 2013 02:26:31 +0000 (02:26 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188348 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/TestRunner.py | patch | blob | history |
index 8929c0b5776a48bc89117d4030564a080dfec1a0..a8150e6240933f91a1ef57581ddbfe9555992ea8 100644 (file)
('%T', tmpDir),
('#_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.
script = []
xfails = []