]> granicus.if.org Git - clang/commitdiff
[tests] Ensure subsitution string is ascii.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 14 Aug 2013 05:05:39 +0000 (05:05 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 14 Aug 2013 05:05:39 +0000 (05:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188354 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index c198dfe56874b8af6a3a7f5760d28fde3223fb55..32412e18fba8fa04555471e5282a0dbe4a3987a4 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
+    return dir.decode('ascii')
 
 config.substitutions.append( ('%clang_cc1', '%s -cc1 -internal-isystem %s'
                               % (config.clang,