forked from premiere/premiere-libtorrent
attempt at fixing encoding issue in run_tests.py
This commit is contained in:
parent
ab07c8f041
commit
f4786ef399
|
@ -90,7 +90,7 @@ def run_tests(toolset, tests, features, options, test_dir, time_limit):
|
||||||
p = subprocess.Popen(['bjam', '--out-xml=%s' % xml_file, '-l%d' % time_limit, '-q', toolset, t] + options + features.split(' '), stdout=subprocess.PIPE)
|
p = subprocess.Popen(['bjam', '--out-xml=%s' % xml_file, '-l%d' % time_limit, '-q', toolset, t] + options + features.split(' '), stdout=subprocess.PIPE)
|
||||||
output = ''
|
output = ''
|
||||||
for l in p.stdout:
|
for l in p.stdout:
|
||||||
output += l
|
output += l.decode('latin-1')
|
||||||
p.wait()
|
p.wait()
|
||||||
|
|
||||||
# parse out the toolset version from the xml file
|
# parse out the toolset version from the xml file
|
||||||
|
|
Loading…
Reference in New Issue