Skip to content

Rename tests/{assembly,codegen} into tests/{assembly,codegen}-llvm and ignore these testsuites if configured backend doesn't match#144249

Merged
bors merged 3 commits intorust-lang:masterfrom
GuillaumeGomez:asm-tests
Jul 22, 2025
Merged

Rename tests/{assembly,codegen} into tests/{assembly,codegen}-llvm and ignore these testsuites if configured backend doesn't match#144249
bors merged 3 commits intorust-lang:masterfrom
GuillaumeGomez:asm-tests

Conversation

@GuillaumeGomez
Copy link
Copy Markdown
Member

@GuillaumeGomez GuillaumeGomez commented Jul 21, 2025

Follow-up of #144125.

This PR changes compiletest so that asm tests are only run if they match the current codegen backend. To better reflect it, I renamed the tests/ui/asm folder into tests/ui/asm-llvm. Like that, we can add new asm tests for other backends if we want without needing to add extra code to compiletest.

Next step will be to use the new code annotations added in #144125 to ignore ui tests failing in cg_gcc until it's fixed on our side.

cc @antoyo @oli-obk
r? @Kobzol

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

Labels

A-CI Area: Our Github Actions CI A-compiletest Area: The compiletest test runner A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc A-tidy Area: The tidy tool merged-by-bors This PR was explicitly merged by bors. 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. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants