r188354 - [tests] Ensure subsitution string is ascii.

Daniel Dunbar daniel at zuster.org
Tue Aug 13 22:05:39 PDT 2013


Author: ddunbar
Date: Wed Aug 14 00:05:39 2013
New Revision: 188354

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

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=188354&r1=188353&r2=188354&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Wed Aug 14 00:05:39 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
+    return dir.decode('ascii')
 
 config.substitutions.append( ('%clang_cc1', '%s -cc1 -internal-isystem %s'
                               % (config.clang,





More information about the cfe-commits mailing list