mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
gh-112536: Add --tsan test for reasonable TSAN execution times. (gh-116601)
This commit is contained in:
parent
16349868d3
commit
ebf29b3a02
5 changed files with 39 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ class Namespace(argparse.Namespace):
|
|||
self.match_tests: TestFilter = []
|
||||
self.pgo = False
|
||||
self.pgo_extended = False
|
||||
self.tsan = False
|
||||
self.worker_json = None
|
||||
self.start = None
|
||||
self.timeout = None
|
||||
|
|
@ -333,6 +334,8 @@ def _create_parser():
|
|||
help='enable Profile Guided Optimization (PGO) training')
|
||||
group.add_argument('--pgo-extended', action='store_true',
|
||||
help='enable extended PGO training (slower training)')
|
||||
group.add_argument('--tsan', dest='tsan', action='store_true',
|
||||
help='run a subset of test cases that are proper for the TSAN test')
|
||||
group.add_argument('--fail-env-changed', action='store_true',
|
||||
help='if a test file alters the environment, mark '
|
||||
'the test as failed')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue