-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Fix blessing of rmake tests #129040
Fix blessing of rmake tests #129040
Conversation
I thought about using a different variable to communicate the path, but |
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.
Thanks for the fix!
I'll r+ after PR CI is green |
Actually I can just let you r=me after PR CI is green @bors delegate+ |
Ideally we would want some kind of self-test, but I don't think we want to muck about in actual sources directories. |
Yeah, automatically testing this seems disproportionately hard, so for this PR I didn't bother. |
Yeah, feel free to r=me, I think we can just YOLO it (it was YOLO'd before anyway, so...) |
CI is green. @bors r=jieyouxu |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#128643 (Refactor `powerpc64` call ABI handling) - rust-lang#128655 (std: refactor UNIX random data generation) - rust-lang#128745 (Remove unused lifetime parameter from spawn_unchecked) - rust-lang#128841 (bootstrap: don't use rustflags for `--rustc-args`) - rust-lang#128983 (Slightly refactor `TargetSelection` in bootstrap) - rust-lang#129026 (CFI: Move CFI ui tests to cfi directory) - rust-lang#129040 (Fix blessing of rmake tests) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#129040 - Zalathar:bless-rmake, r=jieyouxu Fix blessing of rmake tests Fixes rust-lang#129038. When running in `--bless` mode, we now set the value of `RUSTC_BLESS_TEST` to the current test's source directory. This allows the diff helper in `run_make_support` to find the original snapshot file in the source directory and bless that, instead of unhelpfully blessing the temporary copy in `build`. r? `@jieyouxu`
Fixes #129038.
When running in
--bless
mode, we now set the value ofRUSTC_BLESS_TEST
to the current test's source directory. This allows the diff helper inrun_make_support
to find the original snapshot file in the source directory and bless that, instead of unhelpfully blessing the temporary copy inbuild
.r? @jieyouxu