Skip to content

Clean up some uses of logging in ui tests #74750

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Jul 27, 2020

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Jul 25, 2020

The removed test can't possibly trigger anything today as we don't have logging in libstd.

The exec-env flag was mistakenly used for adding env vars to rustc invocations both in test and in the test suite and there were some accidental renames from RUST_LOG to RUSTC_LOG that I reverted.

@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 25, 2020
@oli-obk
Copy link
Contributor Author

oli-obk commented Jul 25, 2020

cc @JohnTitor

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

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

Overall looks good to me, let's clean-up more things that use obsoleted flags :)

// exec-env:RUST_POISON_ON_FREE=1

// rustc-env:RUSTC_BOOTSTRAP_KEY=

// rustc-env:RUST_NEW_ERROR_FORMAT

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

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

It seems we should bless tests but otherwise looks good.

@oli-obk
Copy link
Contributor Author

oli-obk commented Jul 26, 2020

r? @JohnTitor

@bors r=JohnTitor

@bors
Copy link
Collaborator

bors commented Jul 26, 2020

📌 Commit 86ac65c has been approved by JohnTitor

@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 Jul 26, 2020
@oli-obk
Copy link
Contributor Author

oli-obk commented Jul 26, 2020

@bors rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 27, 2020
…r=JohnTitor

Clean up some uses of logging in ui tests

The removed test can't possibly trigger anything today as we don't have logging in libstd.

The `exec-env` flag was mistakenly used for adding env vars to rustc invocations both in test and in the test suite and there were some accidental renames from RUST_LOG to RUSTC_LOG that I reverted.
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 27, 2020
Rollup of 6 pull requests

Successful merges:

 - rust-lang#74088 (Avoid writes without any data in `Write::write_all_vectored`)
 - rust-lang#74598 (Fix sync_once_cell_does_not_leak_partially_constructed_boxes)
 - rust-lang#74750 (Clean up some uses of logging in ui tests)
 - rust-lang#74783 (python codes cleanup)
 - rust-lang#74790 (Don't italicize comments in ayu theme)
 - rust-lang#74799 (Fixed typo in `closure`)

Failed merges:

r? @ghost
@bors bors merged commit 72aad35 into rust-lang:master Jul 27, 2020
@oli-obk oli-obk deleted the logging_and_test_cleanups branch July 27, 2020 12:58
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
# for free to join this conversation on GitHub. Already have an account? # 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.

6 participants