Skip to content

run_make_support: Print the command and output even if it succeeds#153923

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
jyn514:jyn/run-make-debugging
Mar 16, 2026
Merged

run_make_support: Print the command and output even if it succeeds#153923
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
jyn514:jyn/run-make-debugging

Conversation

@jyn514
Copy link
Member

@jyn514 jyn514 commented Mar 15, 2026

Previously, it was quite hard to get access to this output because it was printed to a buffer in memory and then discarded. This output is already hidden behind libtest's output capturing, we don't need to hide it twice.

Previously, it was quite hard to get access to this output because it
was printed to a buffer in memory and then discarded. This output is
already hidden behind libtest's output capturing, we don't need to hide
it twice.
@rustbot
Copy link
Collaborator

rustbot commented Mar 15, 2026

The run-make-support library was changed

cc @jieyouxu

@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 15, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 15, 2026

r? @jieyouxu

rustbot has assigned @jieyouxu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @jieyouxu

Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

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

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 15, 2026

📌 Commit 00dae09 has been approved by jieyouxu

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Mar 15, 2026
Zalathar added a commit to Zalathar/rust that referenced this pull request Mar 16, 2026
…ieyouxu

run_make_support: Print the command and output even if it succeeds

Previously, it was quite hard to get access to this output because it was printed to a buffer in memory and then discarded. This output is already hidden behind libtest's output capturing, we don't need to hide it twice.
rust-bors bot pushed a commit that referenced this pull request Mar 16, 2026
Rollup of 7 pull requests

Successful merges:

 - #153639 (Remove `QueryInfo`.)
 - #153570 (MaybeUninit: mention common mistakes in assume_init docs; link to validity invariant docs)
 - #153793 (Add overview documentation for `std::mem`.)
 - #153922 (rustc_mir_build only depends on rustc_lint_defs, not rustc_lint)
 - #153923 (run_make_support: Print the command and output even if it succeeds)
 - #153925 (Provide better suggestions for inference errors on `.collect()?`)
 - #153928 (remove several redundant tests)
rust-bors bot pushed a commit that referenced this pull request Mar 16, 2026
Rollup of 8 pull requests

Successful merges:

 - #153639 (Remove `QueryInfo`.)
 - #153570 (MaybeUninit: mention common mistakes in assume_init docs; link to validity invariant docs)
 - #153724 (Show named lifetime in closure upvar diagnostics)
 - #153793 (Add overview documentation for `std::mem`.)
 - #153922 (rustc_mir_build only depends on rustc_lint_defs, not rustc_lint)
 - #153923 (run_make_support: Print the command and output even if it succeeds)
 - #153925 (Provide better suggestions for inference errors on `.collect()?`)
 - #153928 (remove several redundant tests)
@rust-bors rust-bors bot merged commit 3a34544 into rust-lang:main Mar 16, 2026
11 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Mar 16, 2026
@bjorn3
Copy link
Member

bjorn3 commented Mar 18, 2026

Could you add a way to revert back to the old behavior? For cg_clif I use --nocapture due to running the test suite with panic=abort (otherwise it aborts before the test outputs can be printed), but would still like to get as little output as possible for successful tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs 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.

4 participants