Skip to content
Snippets Groups Projects
Commit 93f30821 authored by NAKAMURA Takumi's avatar NAKAMURA Takumi
Browse files

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
parent 9fc6b8be
No related branches found
No related tags found
No related merge requests found
...@@ -406,6 +406,7 @@ def parseIntegratedTestScript(test, normalize_slashes=False): ...@@ -406,6 +406,7 @@ def parseIntegratedTestScript(test, normalize_slashes=False):
if normalize_slashes: if normalize_slashes:
sourcepath = sourcepath.replace('\\', '/') sourcepath = sourcepath.replace('\\', '/')
sourcedir = sourcedir.replace('\\', '/') sourcedir = sourcedir.replace('\\', '/')
tmpDir = tmpDir.replace('\\', '/')
tmpBase = tmpBase.replace('\\', '/') tmpBase = tmpBase.replace('\\', '/')
# We use #_MARKER_# to hide %% while we do the other substitutions. # We use #_MARKER_# to hide %% while we do the other substitutions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment