From 0cf153ba9366ebb1449367360d2e7daa8cc93fe2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 9 Aug 2013 00:45:18 +0000 Subject: [PATCH] [tests] Make string encoding issues explicit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188042 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/lit.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/test/lit.cfg b/test/lit.cfg index f2f16fb63c..c5e5dc1f0c 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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: -- 2.50.1