test-zstd-versions.py: fixed creation of dictionaries for v0.5.1+
This commit is contained in:
parent
7e3597bf38
commit
e16f65675b
@ -69,7 +69,7 @@ def create_dict(tag, dict_source_path):
|
|||||||
if tag == 'v0.5.0':
|
if tag == 'v0.5.0':
|
||||||
result = execute('./dictBuilder.' + tag + ' ' + ' '.join(cFiles) + ' ' + ' '.join(hFiles) + ' -o ' + dict_name, print_output=False, param_shell=True)
|
result = execute('./dictBuilder.' + tag + ' ' + ' '.join(cFiles) + ' ' + ' '.join(hFiles) + ' -o ' + dict_name, print_output=False, param_shell=True)
|
||||||
else:
|
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:
|
if result == 0:
|
||||||
print(dict_name + ' created')
|
print(dict_name + ' created')
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user