Make cargo test work for bootstrap self test#146595
Conversation
|
This PR modifies If appropriate, please update |
This comment has been minimized.
This comment has been minimized.
|
It's really cool being able to debug bootstrap tests 🤩 However, the source directory is mounted as read-only on CI, I think that either we'll have to port more tests over to |
…ia using the temp directory created via the testCtx
…ssigned to CARGO_MANIFEST_DIR, so the config actually use the <src>/bootstrap.toml and the /tmp/bootstrap.toml
9eb758a to
33e262e
Compare
|
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
|
@bors2 delegate=try |
|
✌️ @Shourya742, you can now perform try builds on this pull request! You can now post |
|
@bors try |
This comment has been minimized.
This comment has been minimized.
…, r=<try> Make cargo test work for bootstrap self test try-job: aarch64-apple
|
@bors try |
This comment has been minimized.
This comment has been minimized.
…, r=<try> Make cargo test work for bootstrap self test try-job: aarch64-apple
This comment has been minimized.
This comment has been minimized.
04dec14 to
191c7ed
Compare
|
@bors r+ Let's try again :) |
|
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 5b9007b (parent) -> a885811 (this PR) Test differencesShow 1 test diffStage 0
Job group index Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard a8858111044a9391ac7558f969d3bf62ef43222d --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (a885811): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary 3.1%, secondary 2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -4.2%, secondary -6.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 478.827s -> 470.315s (-1.78%) |
This PR enables the bootstrap self-test to run via cargo test. I have removed the detect_src_and_out test for now, but it will be reintroduced in a follow-up PR where all bootstrap tests will be migrated to use testCtx.
r? @Kobzol
try-job: aarch64-apple