From dac723564339934556fe12cee03dec18a44af8a4 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Thu, 28 Feb 2019 16:38:19 +0100 Subject: [PATCH] Only skip ASAN on ppc with Clang --- test/test_functest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_functest.py b/test/test_functest.py index 21f66163..77846618 100644 --- a/test/test_functest.py +++ b/test/test_functest.py @@ -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'}