[tests] Make string encoding issues explicit.

llvm-svn: 188042
This commit is contained in:
Daniel Dunbar 2013-08-09 00:45:18 +00:00
parent 4f5f12110d
commit 368baeda22
1 changed files with 1 additions and 0 deletions

View 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: