abbreviate paths when running regression tests

This commit is contained in:
Arvid Norberg 2013-06-17 08:20:05 +00:00
parent f4786ef399
commit 3c7f907d97
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ def run_tests(toolset, tests, features, options, test_dir, time_limit):
os.chdir(test_dir)
for t in tests:
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', '--abbreviate-paths', toolset, t] + options + features.split(' '), stdout=subprocess.PIPE)
output = ''
for l in p.stdout:
output += l.decode('latin-1')