]> granicus.if.org Git - clang/commitdiff
Revert r188354, "[tests] Ensure subsitution string is ascii."
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 14 Aug 2013 14:57:01 +0000 (14:57 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 14 Aug 2013 14:57:01 +0000 (14:57 +0000)
It caused "shell parser error" on win32 internal shell. ShParser doesn't expect unicode, but str.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188373 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 32412e18fba8fa04555471e5282a0dbe4a3987a4..c198dfe56874b8af6a3a7f5760d28fde3223fb55 100644 (file)
@@ -200,7 +200,7 @@ def getClangBuiltinIncludeDir(clang):
     if sys.platform in ['win32'] and execute_external:
         # Don't pass dosish path separator to msys bash.exe.
         dir = dir.replace('\\', '/')
-    return dir.decode('ascii')
+    return dir
 
 config.substitutions.append( ('%clang_cc1', '%s -cc1 -internal-isystem %s'
                               % (config.clang,