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

Update to new browser-ui-test version #123338

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

GuillaumeGomez
Copy link
Member

This new version brings a lot of new internal improvements (mostly around validating the commands input).

It also improved some command names and arguments.

r? @notriddle

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 1, 2024
Copy link
Contributor

@notriddle notriddle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For anyone else who's reading this code, I've tried to reduce the amount of code I need to review using this AWK script:

  cat 123338.diff | awk '
  /^(---|\+\+\+)/ {print; next}
  /^-/ { print stored; stored = $0 }
  /^\+/ {
    xstored = stored;
    gsub(/^-/, "+", xstored);
    gsub(/\(/, "[", xstored);
    gsub(/\)/, "]", xstored);
    x0 = $0;
    gsub(/\(/, "[", x0);
    gsub(/\)/, "]", x0);
    if (xstored != x0) { print stored; print }
    stored = ""
  }' > 123338.2.diff

It skips over the zillions of changes that only swapped round braces for square brackets.

tests/rustdoc-gui/search-result-color.goml Outdated Show resolved Hide resolved
@GuillaumeGomez
Copy link
Member Author

Removed unneeded comments.

@notriddle
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Apr 2, 2024

📌 Commit 0bb1ec7 has been approved by notriddle

It is now in the queue for this repository.

@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 2, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 2, 2024
…llaumeGomez

Rollup of 4 pull requests

Successful merges:

 - rust-lang#122614 (rustdoc-search: shard the search result descriptions)
 - rust-lang#123338 (Update to new browser-ui-test version)
 - rust-lang#123366 (Minor by_move_body impl cleanups)
 - rust-lang#123371 (Remove dangling `.mir.stderr` and `.thir.stderr` test files)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit c3a124e into rust-lang:master Apr 2, 2024
11 checks passed
@rustbot rustbot added this to the 1.79.0 milestone Apr 2, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Apr 2, 2024
Rollup merge of rust-lang#123338 - GuillaumeGomez:update-browser-ui-test, r=notriddle

Update to new browser-ui-test version

This new version brings a lot of new internal improvements (mostly around validating the commands input).

It also improved some command names and arguments.

r? `@notriddle`
@GuillaumeGomez GuillaumeGomez deleted the update-browser-ui-test branch April 2, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants