]> granicus.if.org Git - clang/commitdiff
[tests] Make string encoding issues explicit.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 9 Aug 2013 00:45:18 +0000 (00:45 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 9 Aug 2013 00:45:18 +0000 (00:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188042 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index f2f16fb63cd91fd3f0a384e1f92fbecb531b0239..c5e5dc1f0c469e6f57f4aa7f6af58a01bbe52d58 100644 (file)
@@ -289,6 +289,7 @@ def get_llc_props(tool):
     # Parse the stdout to get the list of registered targets.
     parse_targets = False
     for line in cmd.stdout:
+        line = line.decode('ascii')
         if parse_targets:
             m = re.match( r'(.*) - ', line)
             if m is not None: