diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-08-31 03:56:17 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-08-31 03:56:17 +0000 |
| commit | 93f3082118b5ab4dfcb1d7b69e67f017e2ba3158 (patch) | |
| tree | b132c8f52273a62b01d76e9bf19385d5d5df6860 /llvm | |
| parent | 9fc6b8be03b1071f7a29ce7ee19fe179e608c518 (diff) | |
| download | bcm5719-llvm-93f3082118b5ab4dfcb1d7b69e67f017e2ba3158.tar.gz bcm5719-llvm-93f3082118b5ab4dfcb1d7b69e67f017e2ba3158.zip | |
lit: Normalize pathsep slashes also on %T.
On Python-w32 with mingw msys bash, %T was replaced to "x:\foo\bar...". msys bash cannot handle DOSish paths.
llvm-svn: 138852
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/utils/lit/lit/TestRunner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py index 0cc1f394d47..f5f7c19891b 100644 --- a/llvm/utils/lit/lit/TestRunner.py +++ b/llvm/utils/lit/lit/TestRunner.py @@ -406,6 +406,7 @@ def parseIntegratedTestScript(test, normalize_slashes=False): if normalize_slashes: sourcepath = sourcepath.replace('\\', '/') sourcedir = sourcedir.replace('\\', '/') + tmpDir = tmpDir.replace('\\', '/') tmpBase = tmpBase.replace('\\', '/') # We use #_MARKER_# to hide %% while we do the other substitutions. |

