diff options
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/lit.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/lit.cfg b/clang/test/lit.cfg index c198dfe5687..d23a40c79b7 100644 --- a/clang/test/lit.cfg +++ b/clang/test/lit.cfg @@ -200,7 +200,8 @@ 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 + # Ensure the result is an ascii string, across Python2.5+ - Python3. + return str(dir.decode('ascii')) config.substitutions.append( ('%clang_cc1', '%s -cc1 -internal-isystem %s' % (config.clang, |

