test-zstd-versions.py: fixed creation of dictionaries for v0.5.1+

dev
inikep 2016-06-17 15:17:35 +02:00
parent 7e3597bf38
commit e16f65675b
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ def create_dict(tag, dict_source_path):
if tag == 'v0.5.0':
result = execute('./dictBuilder.' + tag + ' ' + ' '.join(cFiles) + ' ' + ' '.join(hFiles) + ' -o ' + dict_name, print_output=False, param_shell=True)
else:
result = execute('./zstd.' + tag + ' ' + ' '.join(cFiles) + ' ' + ' '.join(hFiles) + ' -o ' + dict_name, print_output=False, param_shell=True)
result = execute('./zstd.' + tag + ' -f --train ' + ' '.join(cFiles) + ' ' + ' '.join(hFiles) + ' -o ' + dict_name, print_output=False, param_shell=True)
if result == 0:
print(dict_name + ' created')
else: