Skip to content

cg_clif: Don't show verbose run-make cmd output for passing tests#155220

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
jieyouxu:dont-verbose-print-success-cg-clif
May 7, 2026
Merged

cg_clif: Don't show verbose run-make cmd output for passing tests#155220
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
jieyouxu:dont-verbose-print-success-cg-clif

Conversation

@jieyouxu
Copy link
Copy Markdown
Member

@jieyouxu jieyouxu commented Apr 13, 2026

Uses --verbose-run-make-subprocess-output=false added in #154587 to suppress verbose cmd dump for passing run-make tests.

Closes #154069.

@rustbot rustbot added A-compiletest Area: The compiletest test runner A-run-make Area: port run-make Makefiles to rmake.rs A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 13, 2026
@jieyouxu jieyouxu force-pushed the dont-verbose-print-success-cg-clif branch from 98bfbb0 to 30db41d Compare April 14, 2026 01:22
@jieyouxu jieyouxu marked this pull request as ready for review April 14, 2026 01:34
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 14, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 14, 2026

Some changes occurred in compiler/rustc_codegen_cranelift

cc @bjorn3

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Apr 14, 2026
@rustbot

This comment was marked as outdated.

@jieyouxu
Copy link
Copy Markdown
Member Author

Sorry, forgot to assign...
r? bjorn3

@rustbot rustbot assigned bjorn3 and unassigned adwinwhite Apr 14, 2026
@jieyouxu jieyouxu removed A-compiletest Area: The compiletest test runner A-run-make Area: port run-make Makefiles to rmake.rs A-rustc-dev-guide Area: rustc-dev-guide labels Apr 14, 2026

echo "[TEST] rustc test suite"
./x.py test --stage 0 --test-args=--no-capture tests/{codegen-units,run-make,run-make-cargo,ui,incremental}
./x.py test --stage 0 --no-capture --verbose-run-make-subprocess-output=false tests/{codegen-units,run-make,run-make-cargo,ui,incremental}
Copy link
Copy Markdown
Member Author

@jieyouxu jieyouxu Apr 14, 2026

Choose a reason for hiding this comment

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

View changes since the review

(Could you double-check if this goes back to the behavior that you wanted?)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I just tried it and I'm still getting a bunch of

running: LC_ALL="C" LD_LIBRARY_PATH="/home/bjorn/cg_clif/rust/build/x86_64-unknown-linux-gnu/test/run-make/native-link-modifier-whole-archive/rmake_out:/home/bjorn/cg_clif/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/home/bjorn/cg_clif/rust/build/x86_64-unknown-linux-gnu/bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/home/bjorn/cg_clif/rust/../dist/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/bjorn/cg_clif/rust/build/x86_64-unknown-linux-gnu/test/run-make/native-link-modifier-whole-archive/rmake_out/directly_linked"

and

------extern-multiple-copies/rmake stdout------------------------------

------extern-multiple-copies/rmake stderr------------------------------

------------------------------------------

for tests that don't have any output. It is a big improvement though.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Hm, I'll tune this in a follow-up.

@bjorn3
Copy link
Copy Markdown
Member

bjorn3 commented May 7, 2026

@bors r+

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 7, 2026

📌 Commit 30db41d has been approved by bjorn3

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 May 7, 2026
@bjorn3
Copy link
Copy Markdown
Member

bjorn3 commented May 7, 2026

@bors rollup=always

rust-bors Bot pushed a commit that referenced this pull request May 7, 2026
…uwer

Rollup of 10 pull requests

Successful merges:

 - #146273 (lint ImproperCTypes: refactor linting architecture (part 2))
 - #154025 (Add `keepalive`, `set_keepalive` to `TcpStream` implementations)
 - #156024 (CFI: Fix LTO for `#![no_builtins]` crates with CFI)
 - #156243 (Move CrateInfo computation after codegen_crate)
 - #154846 (Add better default spans for the `Ty` impl of `QueryKey`)
 - #155220 (cg_clif: Don't show verbose run-make cmd output for passing tests)
 - #156204 (Implemented `PathBuf::into_string`)
 - #156245 (Move invocation_temp into OutputFilenames)
 - #156250 (add a few new solver normalization tests)
 - #156265 (Remove unused `ToStableHashKey` impls.)
@rust-bors rust-bors Bot merged commit e61be75 into rust-lang:main May 7, 2026
11 checks passed
@rustbot rustbot added this to the 1.97.0 milestone May 7, 2026
rust-timer added a commit that referenced this pull request May 7, 2026
Rollup merge of #155220 - jieyouxu:dont-verbose-print-success-cg-clif, r=bjorn3

cg_clif: Don't show verbose run-make cmd output for passing tests

Uses `--verbose-run-make-subprocess-output=false` added in #154587 to suppress verbose cmd dump for passing `run-make` tests.

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

Labels

A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Retain ability to not verbose-dump cmd/output for successful tests even when --nopcature for cg_clif

4 participants