mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
57d6a5e491
commit
bbbc283d86
1 file changed
+1
@@ -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.
|
||||||
|
|||||||
Reference in new issue
Block a user