mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-111178: Skip test_perf_profiler on function sanitizer (#132020)
Add 'function' parameter to check_sanitizer() of test.support.
This commit is contained in:
parent
f20f02e6b5
commit
643dd5107c
2 changed files with 8 additions and 3 deletions
|
@ -17,7 +17,7 @@ from test.support.os_helper import temp_dir
|
|||
if not support.has_subprocess_support:
|
||||
raise unittest.SkipTest("test module requires subprocess")
|
||||
|
||||
if support.check_sanitizer(address=True, memory=True, ub=True):
|
||||
if support.check_sanitizer(address=True, memory=True, ub=True, function=True):
|
||||
# gh-109580: Skip the test because it does crash randomly if Python is
|
||||
# built with ASAN.
|
||||
raise unittest.SkipTest("test crash randomly on ASAN/MSAN/UBSAN build")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue