mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +00:00
24 lines
565 B
Python
24 lines
565 B
Python
# Set of tests run by default if --tsan is specified. The tests below were
|
|
# chosen because they use threads and run in a reasonable amount of time.
|
|
|
|
TSAN_TESTS = [
|
|
'test_code',
|
|
'test_enum',
|
|
'test_functools',
|
|
'test_httpservers',
|
|
'test_imaplib',
|
|
'test_importlib',
|
|
'test_io',
|
|
'test_logging',
|
|
'test_ssl',
|
|
'test_syslog',
|
|
'test_thread',
|
|
'test_threadedtempfile',
|
|
'test_threading_local',
|
|
'test_threadsignals',
|
|
]
|
|
|
|
|
|
def setup_tsan_tests(cmdline_args):
|
|
if not cmdline_args:
|
|
cmdline_args[:] = TSAN_TESTS[:]
|