Debian Codegraph @

Lib/test/libregrtest/tsan.py

raw
1 # Set of tests run by default if --tsan is specified. The tests below were
2 # chosen because they use threads and run in a reasonable amount of time.
3
4 TSAN_TESTS = [
5 # TODO: enable more of test_capi once bugs are fixed (GH-116908, GH-116909).
6 'test_capi.test_mem',
7 'test_capi.test_pyatomic',
8 'test_code',
9 'test_enum',
10 'test_functools',
11 'test_httpservers',
12 'test_imaplib',
13 'test_importlib',
14 'test_io',
15 'test_logging',
16 'test_opcache',
17 'test_queue',
18 'test_signal',
19 'test_socket',
20 'test_sqlite3',
21 'test_ssl',
22 'test_syslog',
23 'test_thread',
24 'test_threadedtempfile',
25 'test_threading',
26 'test_threading_local',
27 'test_threadsignals',
28 'test_weakref',
29 ]
30
31
32 def setup_tsan_tests(cmdline_args) -> None:
33 if not cmdline_args:
34 cmdline_args[:] = TSAN_TESTS[:]