forked from OSchip/llvm-project
[tests] Ensure subsitution string is ascii.
llvm-svn: 188354
This commit is contained in:
parent
5f22d5263a
commit
a4a8efee50
|
@ -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
|
||||
return dir.decode('ascii')
|
||||
|
||||
config.substitutions.append( ('%clang_cc1', '%s -cc1 -internal-isystem %s'
|
||||
% (config.clang,
|
||||
|
|
Loading…
Reference in New Issue