From 93f3082118b5ab4dfcb1d7b69e67f017e2ba3158 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 31 Aug 2011 03:56:17 +0000 Subject: 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 --- llvm/utils/lit/lit/TestRunner.py | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/utils') 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. -- cgit v1.2.3