Skip Valgrind on OSX

This commit is contained in:
Thom Wiggers 2019-04-15 16:21:44 +02:00
parent a5e906a306
commit 09a35993da
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -48,6 +48,8 @@ def check_functest_sanitizers(implementation):
raise unittest.SkipTest("Clang does not support ASAN on ppc") raise unittest.SkipTest("Clang does not support ASAN on ppc")
elif platform.machine() in ['armv7l', 'aarch64']: elif platform.machine() in ['armv7l', 'aarch64']:
env = {'ASAN_OPTIONS': 'detect_leaks=0'} env = {'ASAN_OPTIONS': 'detect_leaks=0'}
elif platform.system() == 'Darwin':
raise unittest.SkipTest('valgrind is not reliable on OSX')
else: else:
print("Supported platform: {}".format(platform.machine())) print("Supported platform: {}".format(platform.machine()))