1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 15:39:07 +00:00

Only skip ASAN on ppc with Clang

This commit is contained in:
Thom Wiggers 2019-02-28 16:38:19 +01:00
parent 53591961c9
commit dac7235643
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -41,7 +41,7 @@ def check_functest(scheme_name, implementation_name):
def check_functest_sanitizers(scheme_name, implementation_name):
env = None
if platform.machine() == 'powerpc':
if platform.machine() == 'ppc' and os.environ.get('CC', 'gcc') == 'clang':
raise unittest.SkipTest()
elif platform.machine() in ['armv7l', 'aarch64']:
env = {'ASAN_OPTIONS': 'detect_leaks=0'}