Skip to content

Wire up testing to ./x.py test in rust-lang/rust #1290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
11 of 13 tasks
bjorn3 opened this issue Oct 12, 2022 · 4 comments
Closed
11 of 13 tasks

Wire up testing to ./x.py test in rust-lang/rust #1290

bjorn3 opened this issue Oct 12, 2022 · 4 comments
Labels
A-testing Area: Testing of cg_clif itself C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@bjorn3
Copy link
Member

bjorn3 commented Oct 12, 2022

@bjorn3 bjorn3 added C-enhancement Category: An issue proposing an enhancement or a PR with one. A-testing Area: Testing of cg_clif itself labels Oct 12, 2022
@bjorn3 bjorn3 added this to the Distribute as rustup component milestone Oct 12, 2022
bjorn3 added a commit that referenced this issue Jan 11, 2023
@jyn514
Copy link
Member

jyn514 commented Jan 17, 2023

Support building with specified rustc and cargo rather than rustup managed one

If you respect RUSTC and CARGO, I think bootstrap already sets those today :) I wouldn't expect you to need a new argument to y.rs or anything like that.

https://github.com/bjorn3/rustc_codegen_cranelift/issues/1282

cc https://rust-lang.zulipchat.com/#narrow/stream/238009-t-compiler.2Fmeetings/topic/.5Bweekly.5D.202023-01-05/near/319616098 - I think this is ok not to require for now :)

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 16, 2023

Opened rust-lang/rust#112701

bors referenced this issue in rust-lang-ci/rust Sep 10, 2023
…imulacrum

Run part of cg_clif's tests in CI

While currently cg_clif is already built in CI ensuring that it always compiles, sometimes there is a bug in the changes that were made causing tests to fail. This PR is one step towards preventing this.

Part of the test suite is still skipped until vendoring for the projects that are being tested is implemented. I will implement that in a future PR.

Fixes part of https://github.com/bjorn3/rustc_codegen_cranelift/issues/1290
Fixes part of rust-lang#95518
Required for rust-lang#81746
@bjorn3
Copy link
Member Author

bjorn3 commented Oct 10, 2023

The no_sysroot and base_sysroot parts of cg_clif's test suite has been running on rust's CI now for almost a month. The extended_sysroot part is blocked on vendoring support of the things being tested.

@bjorn3
Copy link
Member Author

bjorn3 commented Apr 1, 2025

rust-lang/rust#139213 will run coretests and alloctests on rust's CI. The rest of cg_clif's tests are various crates, which probably shouldn't run in rust's CI.

Zalathar added a commit to Zalathar/rust that referenced this issue Apr 4, 2025
Zalathar added a commit to Zalathar/rust that referenced this issue Apr 4, 2025
bors added a commit to rust-lang-ci/rust that referenced this issue Apr 4, 2025
github-actions bot pushed a commit to rust-lang/rustc-dev-guide that referenced this issue Apr 7, 2025
bjorn3 pushed a commit that referenced this issue Apr 7, 2025
Run coretests and alloctests with cg_clif in CI

Part of #1290
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this issue Apr 10, 2025
@bjorn3 bjorn3 closed this as completed Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing Area: Testing of cg_clif itself C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

No branches or pull requests

2 participants