Skip to content

Update ui test crate #2941

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

Merged
merged 1 commit into from
Jun 26, 2023
Merged

Update ui test crate #2941

merged 1 commit into from
Jun 26, 2023

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Jun 26, 2023

The main changes:

  • we don't need to roll our own status_emitter anymore
  • there's only one way to filter now: with the closure passed to run_tests_generic

@oli-obk
Copy link
Contributor Author

oli-obk commented Jun 26, 2023

@bors r+

@bors
Copy link
Contributor

bors commented Jun 26, 2023

📌 Commit 0f8cb04 has been approved by oli-obk

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jun 26, 2023

⌛ Testing commit 0f8cb04 with merge 7ee6988...

@bors
Copy link
Contributor

bors commented Jun 26, 2023

☀️ Test successful - checks-actions
Approved by: oli-obk
Pushing 7ee6988 to master...

@bors bors merged commit 7ee6988 into rust-lang:master Jun 26, 2023
"--" => {
after_dashdash = true;
false
let mut quiet = false;
Copy link
Member

@RalfJung RalfJung Jun 26, 2023

Choose a reason for hiding this comment

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

I can't find any place that this variable is actually used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh no rustc, why hast thou forsaken me

TextAndGha,
(
ui_test::status_emitter::Text,
ui_test::status_emitter::Gha::<false> { name: format!("{mode:?} {path} ({target})") },
Copy link
Member

Choose a reason for hiding this comment

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

What does the false here mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Turns off gha groups

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
ui_test::status_emitter::Gha::<false> { name: format!("{mode:?} {path} ({target})") },
ui_test::status_emitter::Gha::</* GHA groups */ false> { name: format!("{mode:?} {path} ({target})") },

@oli-obk oli-obk deleted the ui_test_bump branch June 26, 2023 12:51
bors added a commit that referenced this pull request Jun 27, 2023
Make `--quiet` actually do something

address review from #2941 (comment)
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Jun 29, 2023
Make `--quiet` actually do something

address review from rust-lang/miri#2941 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants