Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 35.2k
gh-112536: Add --tsan test for reasonable TSAN execution times.#116601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
60e7b12a0c59614230c92a13ecb79a4b5a32df3502b3fac0bd8d2e8b06607e50f1899eff8c92eb571b9d8f288473f265e1File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # 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[:] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Add --tsan to test.regrtest for running TSAN tests in reasonable execution | ||
| times. Patch by Donghee Na. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| ## reference: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions | ||
MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am going to update the list of supressions.txt when working on the CI things. | ||
| race:get_allocator_unlocked | ||
| race:set_allocator_unlocked | ||
| race:mi_heap_visit_pages | ||
| race:_mi_heap_delayed_free_partial | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@swtaarrs It will be the more clear?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I completely missed this notification. Looks good to me :)