1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-29 19:01:22 +00:00

Fix arm platform names

This commit is contained in:
Thom Wiggers 2019-02-27 13:11:36 +01:00
parent 1180de5d30
commit ea47ab3dad
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -43,7 +43,7 @@ def check_functest_sanitizers(scheme_name, implementation_name):
env = None env = None
if platform.machine() == 'powerpc': if platform.machine() == 'powerpc':
raise unittest.SkipTest() raise unittest.SkipTest()
elif platform.machine() in ['arm32', 'aarch64']: elif platform.machine() in ['armv7l', 'aarch64']:
env = {'ASAN_OPTIONS': 'detect_leaks=0'} env = {'ASAN_OPTIONS': 'detect_leaks=0'}
else: else:
print("Supported platform: {}".format(platform.machine)) print("Supported platform: {}".format(platform.machine))