Only skip ASAN on ppc with Clang

This commit is contained in:
Thom Wiggers 2019-02-28 16:38:19 +01:00
rodzic 53591961c9
commit dac7235643
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 001BB0A7CE26E363

Wyświetl plik

@ -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'}