鏡像自
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
Disable asan if clang is mentioned in CC (like in 'ccache clang')
This commit is contained in:
父節點
f5b1c258c4
當前提交
578a9d66ce
@ -54,7 +54,7 @@ def test_functest_sanitizers(implementation, impl_path, test_dir,
|
||||
init, destr):
|
||||
dest_dir = os.path.join(test_dir, 'bin')
|
||||
env = None
|
||||
if platform.machine() == 'ppc' and os.environ.get('CC', 'gcc') == 'clang':
|
||||
if platform.machine() == 'ppc' and 'clang' in os.environ.get('CC', 'gcc'):
|
||||
raise unittest.SkipTest("Clang does not support ASAN on ppc")
|
||||
elif platform.machine() in ['armv7l', 'aarch64']:
|
||||
env = {'ASAN_OPTIONS': 'detect_leaks=0'}
|
||||
|
載入中…
新增問題並參考
Block a user