forked from premiere/premiere-libtorrent
abbreviate paths when running regression tests
This commit is contained in:
parent
f4786ef399
commit
3c7f907d97
|
@ -87,7 +87,7 @@ def run_tests(toolset, tests, features, options, test_dir, time_limit):
|
||||||
os.chdir(test_dir)
|
os.chdir(test_dir)
|
||||||
|
|
||||||
for t in tests:
|
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 = ''
|
output = ''
|
||||||
for l in p.stdout:
|
for l in p.stdout:
|
||||||
output += l.decode('latin-1')
|
output += l.decode('latin-1')
|
||||||
|
|
Loading…
Reference in New Issue