r188373 - Revert r188354, "[tests] Ensure subsitution string is ascii."

NAKAMURA Takumi geek4civic at gmail.com
Wed Aug 14 07:57:01 PDT 2013


Author: chapuni
Date: Wed Aug 14 09:57:01 2013
New Revision: 188373

URL: http://llvm.org/viewvc/llvm-project?rev=188373&view=rev
Log:
Revert r188354, "[tests] Ensure subsitution string is ascii."

It caused "shell parser error" on win32 internal shell. ShParser doesn't expect unicode, but str.

Modified:
    cfe/trunk/test/lit.cfg

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=188373&r1=188372&r2=188373&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Wed Aug 14 09:57:01 2013
@@ -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,





More information about the cfe-commits mailing list