mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00

Some checks are pending
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Undefined behavior sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Tests / (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
51 lines
1.4 KiB
Python
51 lines
1.4 KiB
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_asyncio',
|
|
# TODO: enable more of test_capi once bugs are fixed (GH-116908, GH-116909).
|
|
'test_capi.test_mem',
|
|
'test_capi.test_pyatomic',
|
|
'test_code',
|
|
'test_ctypes',
|
|
'test_concurrent_futures',
|
|
'test_enum',
|
|
'test_functools',
|
|
'test_httpservers',
|
|
'test_imaplib',
|
|
'test_importlib',
|
|
'test_io',
|
|
'test_logging',
|
|
'test_opcache',
|
|
'test_queue',
|
|
'test_signal',
|
|
'test_socket',
|
|
'test_sqlite3',
|
|
'test_ssl',
|
|
'test_syslog',
|
|
'test_thread',
|
|
'test_thread_local_bytecode',
|
|
'test_threadedtempfile',
|
|
'test_threading',
|
|
'test_threading_local',
|
|
'test_threadsignals',
|
|
'test_weakref',
|
|
'test_free_threading',
|
|
]
|
|
|
|
# Tests that should be run with `--parallel-threads=N` under TSAN. These tests
|
|
# typically do not use threads, but are run multiple times in parallel by
|
|
# the regression test runner with the `--parallel-threads` option enabled.
|
|
TSAN_PARALLEL_TESTS = [
|
|
'test_abc',
|
|
'test_hashlib',
|
|
]
|
|
|
|
|
|
def setup_tsan_tests(cmdline_args) -> None:
|
|
if not cmdline_args:
|
|
cmdline_args[:] = TSAN_TESTS[:]
|
|
|
|
def setup_tsan_parallel_tests(cmdline_args) -> None:
|
|
if not cmdline_args:
|
|
cmdline_args[:] = TSAN_PARALLEL_TESTS[:]
|