-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Replace rustdoc-ui/{c,z}-help tests with a stable run-make test #109810
Conversation
r? @TaKO8Ki (rustbot has picked a reviewer for you, use r? to override) |
@@ -398,6 +398,8 @@ fn run_test( | |||
compiler.stdin(Stdio::piped()); | |||
compiler.stderr(Stdio::piped()); | |||
|
|||
debug!("compiler invocation for doctest: {:?}", compiler); |
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.
I added this so I could double check that -C ...
flags are passed through to the compiler when running doctests.
234f3c5
to
72ea377
Compare
☔ The latest upstream changes (presumably #109808) made this pull request unmergeable. Please resolve the merge conflicts. |
72ea377
to
876615e
Compare
This PR bitrots quickly; I'm not planning to rebase it until I get an initial review. |
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 for the late review. I thinks this looks good to me. Could you fix conflicts?
Before, rustdoc was missing `-C passes=list` and the "Available options" header. Making these match allows testing that they match exactly.
876615e
to
a25749e
Compare
Sure thing, done :) @bors r=TaKO8Ki |
📌 Commit a25749e17e2ccb3a8c21df580303a4ca85ae20b6 has been approved by It is now in the queue for this repository. |
This make rustdoc resilient to changes in the debugging options while still testing that it matches rustc.
a25749e
to
67b3919
Compare
@bors r- r=TaKO8Ki |
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#109810 (Replace rustdoc-ui/{c,z}-help tests with a stable run-make test ) - rust-lang#110035 (fix: ensure bad `#[test]` invocs retain correct AST) - rust-lang#110089 (sync::mpsc: synchronize receiver disconnect with initialization) - rust-lang#110103 (Report overflows gracefully with new solver) - rust-lang#110122 (Fix x check --stage 1 when download-ci-llvm=false) - rust-lang#110133 (Do not use ImplDerivedObligationCause for inherent impl method error reporting) - rust-lang#110135 (Revert "Don't recover lifetimes/labels containing emojis as character literals") - rust-lang#110235 (Fix `--extend-css` option) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This make rustdoc resilient to changes in the debugging options while still testing that it matches rustc.
Fixes #109391.