Improve code for rustdoc-gui tester#91584
Merged
bors merged 1 commit intorust-lang:masterfrom Dec 15, 2021
Merged
Conversation
camelid
reviewed
Dec 7, 2021
| } | ||
| } | ||
| if (!no_headless && tests_queue.length > 0) { | ||
| if (tests_queue.length > 0) { |
Member
There was a problem hiding this comment.
Was this check intentionally removed? This seems like a potential behavior change.
Member
Author
There was a problem hiding this comment.
It is in theory impossible because we run them one by one when we have the --no-headless option. But that seems like a redundant check so I just removed it. If there is a remaining test, well, it'll be run here.
Contributor
|
@bors r+ rollup |
Collaborator
|
📌 Commit 4c1e24b has been approved by |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Dec 15, 2021
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#90521 (Stabilize `destructuring_assignment`) - rust-lang#91479 (Add `[T]::as_simd(_mut)`) - rust-lang#91584 (Improve code for rustdoc-gui tester) - rust-lang#91886 (core: minor `Option` doc correction) - rust-lang#91888 (Handle unordered const/ty generics for object lifetime defaults) - rust-lang#91905 (Fix source code page sidebar on mobile) - rust-lang#91906 (Removed `in_band_lifetimes` from `library\proc_macro`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following advice given in #91391.
It nicely improves the code readability. :)
r? @jsha