Skip to content
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

Add ThreadSanitizer test case #70938

Merged
merged 1 commit into from
Apr 10, 2020
Merged

Conversation

tmiasko
Copy link
Contributor

@tmiasko tmiasko commented Apr 8, 2020

No description provided.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 8, 2020
@Dylan-DPC-zz
Copy link

r? @Centril

@Centril
Copy link
Contributor

Centril commented Apr 10, 2020

I don't feel qualified to review this.

r? @hanna-kruppe @alexcrichton perhaps

@hanna-kruppe
Copy link
Contributor

I am not familiar with the TSAN APIs used here or the test harness features this test relies on, but the reasoning in the comment seems good to me and the test code itself also looks good at a glance.

Is this test exercised by any of our builders? If so, is it among the checks that run on every PR or only run by bors?

@tmiasko
Copy link
Contributor Author

tmiasko commented Apr 10, 2020

They run on Linux x86_64-gnu and macOS x86_64-apple (not in any of PR runners, AFAIR). Which reminds me that this should be fine to run on macOS and I adjusted the test accordingly.

@hanna-kruppe
Copy link
Contributor

Alright, then I'll approve this now, otherwise I would have waited for the PR builders going green.

@bors r+

@bors
Copy link
Contributor

bors commented Apr 10, 2020

📌 Commit 688697d has been approved by hanna-kruppe

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 10, 2020
@Dylan-DPC-zz
Copy link

otherwise I would have waited for the PR builders going green.

Not a problem, as it will take some time before this gets rolled up, and the try-CI will finish before that

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 10, 2020
Rollup of 9 pull requests

Successful merges:

 - rust-lang#69745 (Use `PredicateObligation`s instead of `Predicate`s)
 - rust-lang#70938 (Add ThreadSanitizer test case)
 - rust-lang#70973 (Use forward traversal for unconditional recursion lint)
 - rust-lang#70978 (compiletest: let config flags overwrite -A unused)
 - rust-lang#70979 (Follow up on BTreeMap comments)
 - rust-lang#70981 (Rearrange BTreeMap::into_iter to match range_mut.)
 - rust-lang#70985 (Clean up E0512 explanation)
 - rust-lang#70988 (Setup the `@rustbot prioritize` command)
 - rust-lang#70991 (fix rustc-dev-guide's url in src/librustc_codegen_ssa)

Failed merges:

r? @ghost
@bors bors merged commit 6b2df46 into rust-lang:master Apr 10, 2020
@tmiasko tmiasko deleted the thread-test-case branch April 11, 2020 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants