attempt at fixing encoding issue in run_tests.py

This commit is contained in:
Arvid Norberg 2013-06-17 08:11:57 +00:00
parent ab07c8f041
commit f4786ef399
1 changed files with 1 additions and 1 deletions

View File

@ -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)
output = ''
for l in p.stdout:
output += l
output += l.decode('latin-1')
p.wait()
# parse out the toolset version from the xml file