From: NAKAMURA Takumi Date: Wed, 14 Aug 2013 14:57:01 +0000 (+0000) Subject: Revert r188354, "[tests] Ensure subsitution string is ascii." X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fea4eae4cd93a2e1129201aee5505c39e4afbe3;p=clang Revert r188354, "[tests] Ensure subsitution string is ascii." 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 --- diff --git a/test/lit.cfg b/test/lit.cfg index 32412e18fb..c198dfe568 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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,