1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 23:48:58 +00:00

Skip duplicate consistency check on Windows (i.e., if sed not available)

This commit is contained in:
Douglas Stebila 2019-04-04 12:07:54 -04:00
parent 249bfb6197
commit 7a4e0d445b

View File

@ -18,7 +18,7 @@ def file_get_contents(filename):
return f.read() return f.read()
def check_duplicate_consistency(implementation): def check_duplicate_consistency(implementation):
print(implementation.metadata()) helpers.ensure_available('sed')
if 'duplicate-consistency' in implementation.metadata(): if 'duplicate-consistency' in implementation.metadata():
dc = implementation.metadata()['duplicate-consistency'] dc = implementation.metadata()['duplicate-consistency']
for pairs in dc['files']: for pairs in dc['files']: