-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Migrate a few test files to snapbox #14048
Merged
Merged
Conversation
This file contains 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
rustbot
added
A-testing-cargo-itself
Area: cargo's tests
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
Jun 11, 2024
epage
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
weihanglo
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
epage
reviewed
Jun 11, 2024
weihanglo
reviewed
Jun 11, 2024
Muscraft
force-pushed
the
move-to-snapbox
branch
8 times, most recently
from
June 12, 2024 16:42
79f7c12
to
841e9ac
Compare
epage
reviewed
Jun 12, 2024
epage
reviewed
Jun 12, 2024
epage
reviewed
Jun 12, 2024
tests/testsuite/artifact_dep.rs
Outdated
Comment on lines
1266
to
1223
.with_stderr_does_not_contain(format!( | ||
"[RUNNING] `rustc --crate-name foo [..]--target {} [..]", | ||
target | ||
)) | ||
.with_stderr_contains("[RUNNING] `rustc --crate-name foo [..]") |
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 feel like these are easier to contrast with the previous way
epage
reviewed
Jun 12, 2024
Merged
bors
added a commit
that referenced
this pull request
Jun 12, 2024
Add assert redactions This was split out from #14048 so that the test changes in that PR do not block the redactions. This adds auto-redactions for: - A new `[HASH]` for `/<file>-<16 char hash>` - `[HOST_TARGET]` - `[ALT_TARGET]` - Only added if cross-compilation is allowed for the target - `[AVG_ELAPSED]` - For `bench` output - `[JITTER]` - For `bench` output This also moves all common redactions to a function that `assert_e2e` and `assert_ui` call to reduce the amount of duplicate code and makes it so we only compile regex redactions once.
Muscraft
force-pushed
the
move-to-snapbox
branch
3 times, most recently
from
June 12, 2024 22:55
b7068d5
to
9a41d70
Compare
epage
reviewed
Jun 13, 2024
Muscraft
force-pushed
the
move-to-snapbox
branch
from
June 13, 2024 19:27
9a41d70
to
d0804f8
Compare
@bors r+ |
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
Jun 13, 2024
☀️ Test successful - checks-actions |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jun 15, 2024
Update cargo 13 commits in 4dcbca118ab7f9ffac4728004c983754bc6a04ff..a1f47ec3f7cd076986f1bfcd7061f2e8cb1a726e 2024-06-11 16:27:02 +0000 to 2024-06-15 01:10:07 +0000 - Change verification order during packaging. (rust-lang/cargo#14074) - Update git2 for libgit2 1.8.1 (rust-lang/cargo#14067) - Fix some documentation misspellings (rust-lang/cargo#14066) - chore(deps): update msrv (1 version) to v1.79 (rust-lang/cargo#14063) - test: Redact conditional compile-fail warning (rust-lang/cargo#14064) - Migrate a few test files to snapbox (rust-lang/cargo#14048) - docs(contrib): Improve triage instructions (rust-lang/cargo#14052) - chore(ci): Upgrade cargo-semver-checks (rust-lang/cargo#14062) - Revert rust-lang/cargo#13630 as rustc ignores `-C strip` on MSVC (rust-lang/cargo#14061) - test: migrate features_are_quoted to snapbox (rust-lang/cargo#14051) - Add assert redactions (rust-lang/cargo#14054) - test: migrate build_script_env to snapbox (rust-lang/cargo#14044) - docs: Iterate on --breaking docs (rust-lang/cargo#14047) r? ghost
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-testing-cargo-itself
Area: cargo's tests
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
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.
This migrates the following files to
snapbox
artifact_dep
does_not_contain
artifact_dir
bad_config
bad_manifest_path
str!
for all testsbench
Note: This also adds auto-redactions for:
[HOST_TARGET]
[ALT_TARGET]
[AVG_ELAPSED]
bench
output[JITTER]
bench
outputPart of #14039