forked from OSchip/llvm-project
[tests] Make string encoding issues explicit.
llvm-svn: 188042
This commit is contained in:
parent
4f5f12110d
commit
368baeda22
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue